Skip to content

labs/util

Step Summary
labs/util/now Read the current time, in UTC.

labs/util/now

Read the current time, in UTC.

For a message a test builds that has to say when it was sent — a sentDateTime in a notification header, or in a mock's reply built by labs/mock/api/dynamic. Time zone aware, with a Z suffix, which is what JSON schemas mean by format: date-time.

Inputs

No fields.

Output — the value assertions and returns: read

The time the step ran, in UTC, as ISO 8601 with milliseconds: 2026-09-27T20:44:49.995Z.

Type: string