How to find out the name of the regional time zone of the java script system

Hi, I have a typical requirement in my web application, I have to fill in the drop-down list with all system time zones and set the selected time zone from which the client is viewed.

Only a timezoneoffset is not enough to cope with this situation, because there are two reasons: 1. the last OS with more than one time zone with the same offset 2. If the daylight is on or off (can be detected from Javascript), the offset will change.

are any ways to handle this in a java script?

+3
source share
2 answers
0

: JavaScript : jsTimezoneDetect. , MK , , , . .

: -07: 00 UTC, .

  • Mountain Mountain ( ... )
  • ( )
  • ( )

, UTC , , . . UTC , , .

, , -07: 00 , (/), (/). ? , , , .

2011 , 13 , - 4 . , , 13 , ? , , 4 - . ? .

+1

Source: https://habr.com/ru/post/1753304/


All Articles