Library API
    Preparing search index...

    Function getDateTimeFormat

    • Retrieves the system's current TimeZone, Calendar, and Locale information by resolving the default Intl.DateTimeFormat options.

      Returns ResolvedDateTimeFormatOptions

      The resolved DateTimeFormat options

      const { timeZone, locale } = getDateTimeFormat();