Skip to main content

$$date

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
PrimarystringYes
formatenumISO/ GMT/DATE/ADD/SUB/DIFF/ EPOCH/FORMAT/ZONEISO

ISO format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstISOYes
digitsinteger-1

GMT format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstGMTYes

DATE format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstDATEYes

ADD format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstADDYes
unitsenumNANOS/ MICROS/MILLIS/SECONDS/MINUTES/HOURS/ HALF_DAYS/DAYS/MONTHS/YEARSYes
amountlong0

SUB format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstSUBYes
unitsenumNANOS/ MICROS/MILLIS/SECONDS/MINUTES/HOURS/ HALF_DAYS/DAYS/MONTHS/YEARSYes
amountlong0

DIFF format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstDIFFYes
unitsenumNANOS/ MICROS/MILLIS/SECONDS/MINUTES/HOURS/ HALF_DAYS/DAYSYes
endstringYes

EPOCH format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstEPOCHYes
resolutionenumUNIX/ MSUNIX

FORMAT format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstFORMATYes
patternstringYes
timezonestring"UTC"

ZONE format​

Usage​

Returns​

Arguments​

ArgumentTypeValuesRequired / Default ValueDescription
Primary
formatconstZONEYes
zoneenumUTC

Examples​