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.

On this page

Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Summit Banner

A virtual event April 27-28.

Expand your skills and get inspired.

Register for free
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now
Adobe Maker Awards Banner

Time to shine!

Apply now for the 2021 Adobe Experience Maker Awards.

Apply now