This is the ThingsDB documentation for version v0, click here for the latest version!
Return the time in seconds since the epoch as a floating point number.
If you require the same time multiple times within a query,
then call now()
only once and save it to a variable, for example now = now();
This function does not generate an event.
now()
None
Current timestamp.
This code shows the current timestamp:
// current timestamp
now();
Example return value in JSON format
1551093313.6622682