Skip to content

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.

create now_time from now()

Output

{
  "now_time": 1728636400000000000
}