now now

Returns the current date in date time format. For more information on data types, refer to this page.

Category

Date

Function syntax

now(<parameter>)

Parameters

Parameter
Description
string

Signatures and returned type

now()

now("<timeZone id>")

Returns a dateTime.

Examples

now()

Returns 2019-06-03T06:30Z.

toString(now())

Returns ā€œ2019-06-03T06:30Zā€

now("Europe/Paris")

Returns 2019-06-03T08:30+02:00.

recommendation-more-help
b22c9c5d-9208-48f4-b874-1cefb8df4d76