today

Provides the current date string according to the current clock. If no time zone is provided, the default time zone will be used.

Syntax

Parameters

ParameterTypeDescription
timeZoneZoneId

The time zone.

Returns

The current date string.

Examples