Animations

API

Arrays

Async

Basics

Challenges

Classes

Console

Dates

Debugging

DOM Elements

DOM Methods

DOM Navigation

DOM Properties

Event Listeners

Flow Control

Forms

Functions

Global Functions

JSON

Keywords

Libraries (3rd party)

Math

Modules

Objects

Snippets

String

Types

Widgets

Window Object

JavaScript - Time Zones

JavaScript accepts these time zones:

  • UTC Coordinated Universal Time
  • GMT Greenwich Mean Time
  • EDT (US) Eastern Daylight Time
  • CDT (US) Central Daylight Time
  • MDT (US) Mountain Daylight Time
  • PDT (US) Pacific Daylight Time
  • EST (US) Eastern Standard Time
  • CST (US) Central Standard Time
  • MST (US) Mountain Standard Time
  • PST (US) Pacific Standard Time

UTC (Universal Time Coordinated) is the same as GMT (Greenwich Mean Time) and is also known as Zulu Time.

When setting a date, without specifying the time zone, JavaScript will use the browser's time zone. When getting a date, without specifying the time zone, the result is converted to the browser's time zone. In other words: If a date/time is created in GMT (Greenwich Mean Time), the date/time will be converted to CDT (Central US Daylight Time) if a user browses from central US.

https://en.wikipedia.org/wiki/Coordinated_Universal_Time

https://upload.wikimedia.org/wikipedia/commons/e/e8/Standard_World_Time_Zones.png