Static now() function for a log. [closed]
asked 2014-02-10 18:29:39 +0100
This post is a wiki. Anyone with karma >75 is welcome to improve it.
I'm creating a log that needs a time-stamp on each line as the line is created. I tried the now() function which puts a time-stamp on the line created, however, the time-stamps of all other lines are updated to the current now() time of the new line when a new line is created.
Need a "static now()" function that updates only on creation.