Standalone Formatter Returns a formatted string from a Temporal.ZonedDateTime or Tempo instance.
Optionalobj: anyStandalone Formatter Returns a formatted string from a Temporal.ZonedDateTime or Tempo instance.
Standalone Formatter Returns a formatted string from a Temporal.ZonedDateTime or Tempo instance.
Optionaloptions: any
Formats a supported date-time value using a named format, template, or internationalization options.
Param: obj
The value to format; omitted values use the current date and time.
Param: fmt
A registered format name or literal format template.
Param: options
Formatting and configuration overrides.
Returns
The formatted date-time string, a format proxy when no format or options are supplied, or an empty string for invalid date-time values.