now

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.

Function

now()

Arguments

None

Return value

Current timestamp.

Example

This code shows the current timestamp:

// current timestamp
now();

Example return value in JSON format

1551093313.6622682