Date to format.
Formatting mask string or DateFormatMaskOption to apply to date.
Optionalutc: 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.
Optionalutc: booleanUse UTC for the current date.
The formatted date.
Formats the specified
dateusing the specified formatmask.