now
Description
Returns the current time as a timestamp at query execution.
- Produces nanosecond precision if supported by the runtime, otherwise falls back to milliseconds.
- Always returns the same value across multiple invocations within the same query.
Syntax
now(): timestamp
Example
Capture the current time
Create a new field with the timestamp of when the query was executed.
Example query
create now_time from now()
Example output
{
"now_time": 1728636400000000000
}