Check out v4 of the Fauna CLI

v4 of the Fauna CLI is now in beta.

The new version introduces enhancements to the developer experience, including an improved authentication workflow. To get started, check out the CLI v4 quick start.

Time.now()

Get the transaction start Time in UTC.

Signature

Time.now() => Time

Description

The Time.now() method gets the start time of the current query. Calling Time.now() multiple times in a query returns the same value each time. The Time object returned is in UTC and has nanosecond resolution.

Parameters

None

Return value

Type Description

Time

ISO 8601 time value representing the start time of the current query.

Examples

Get the query start time:

Time.now()
Time("2099-10-07T14:43:33.469Z")

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!