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
Post a Comment