Gets the current wallclock time.
now() -> timeDescription
Section titled “Description”The now function returns the current wallclock time.
Examples
Section titled “Examples”Get the time in UTC
Section titled “Get the time in UTC”let $now = now()from { x: $now }{x: 2024-10-28T13:27:33.957987}Compute a field with the current time
Section titled “Compute a field with the current time”subscribe "my-topic"select ts=now(){ts: 2024-10-30T15:03:04.85298}{ts: 2024-10-30T15:03:06.31878}{ts: 2024-10-30T15:03:07.59813}