Formats a date to follow the "month day, year" syntax.

  • Parameters

    • date: Date
    • timeZone: string = ...

      (Optional) The time zone to be used for formatting the date. If not specified, the local time zone is used. Offsets and IANA both supported. Ex: (+08:00, +08, Z, Z+8, PST)

    Returns string