Function utcFormat

  • Equivalent to timeFormat, except all directives are interpreted as Coordinated Universal Time (UTC) rather than local time.

    An alias for locale.utcFormat (TimeLocaleObject.utcFormat) on the default locale.

    Parameters

    • specifier: string

      A specifier string for the date format.

    Returns ((date) => string)

      • (date): string
      • Parameters

        Returns string