Function utcParse

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

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

    Parameters

    • specifier: string

      A specifier string for the date format.

    Returns ((dateString) => Date | null)

      • (dateString): Date | null
      • Parameters

        • dateString: string

        Returns Date | null