Date to format.
Formatting mask string or DateFormatMaskOption
to apply to date.
Optional
utc: booleanIf true, use UTC time.
The formatted date.
Formats the current date using the specified format mask
.
Formatting mask string or DateFormatMaskOption
to apply to date.
Optional
utc: booleanUse UTC for the current date.
The formatted date.
Formats the specified
date
using the specified formatmask
.