now - script and chart function
This function returns a timestamp of the current time from the system clock. The default value is 1.
Syntax:
now([ timer_mode])
Return data type: dual
Arguments:
Argument | Description |
---|---|
timer_mode |
Can have the following values:
Information noteIf you use the function in a load script, timer_mode=0 will result in the time of the last finished data load, while timer_mode=1 will give the time of the function call in the current data load.
|
Examples and results:
Example | Result |
---|---|
now( 0) |
Returns the time when the last data load completed. |
now( 1) |
|
now( 2) |
Returns the time when the document was opened. |