html - get all javascript timezone as per entered date -


how can time zone detail per date. example : entered date 23/06/2015 , standard time zone detail per dst / non dst date. @ time america/godthab (gmt-03:00) greenland dst , asia/baku ((gmt+04:00) baku, tbilisi, yerevan) non dst.

you can use javascript gettimezoneoffset() method:

the gettimezoneoffset() method returns time difference between utc time , local time, in minutes. example, if time zone gmt+2, -120 returned.

see this information.

you can use momentjs, looks perfect.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -