Now
Now( )
Now( )
Now( )
Now( )
now( )
Now( )
Description
The Now
function constructs a Timestamp representing the
transaction’s start time.
Multiple calls to Now
within a single transaction produce the
same timestamp. The transaction’s start time is the same on all nodes
that participate in the transaction. During a temporal query,
Now
still means the transaction’s start time, not the temporal
query’s specified timestamp.
Returns
A Timestamp which represents the transaction’s start time.
Examples
The following query returns a Timestamp for the transaction’s start time:
FaunaTime(2020-10-26T23:56:52.326Z)
{346000000 63739344055 <nil>}
2020-06-29T21:40:01.186Z
Time("2019-10-02T19:34:56.789012Z")
FaunaTime('2020-01-27T21:33:13.631869Z')
2019-10-02T19:34:56.789012Z
Was this article helpful?
We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums
or email docs@fauna.com
Thank you for your feedback!