Optional
format: stringOptional. The format to use for the date output. Can be a DateTimeFormat
object or a string pattern.
Optional
timezoneOffset: numberOptional. The timezone offset in minutes to apply to the current date.
The formatted current date as a string.
Formats the current date and time according to the specified format and timezone offset.