Date.today()

Get the current UTC Date.

Signature

Date.today() => Date

Description

The Date.today() method gets the current Date. The returned Date is the current UTC date.

Parameters

None

Return value

Type Description

Date

Object representing the Current year, month, and day, in UTC.

Examples

Get the current date:

Date.today()
Date("2099-06-24")
\