Returns the current date in date time format. For more information on data types, refer to this page.
Date
now(<parameter>)
Parameter | Description |
---|---|
string |
now()
now("<timeZone id>")
Returns a dateTime.
now()
Returns 2023-06-03T06:30Z.
toString(now())
Returns “2023-06-03T06:30Z”
now("Europe/Paris")
Returns 2023-06-03T08:30+02:00.