datetime - JavaScript Date - Months changing across timezones? -



datetime - JavaScript Date - Months changing across timezones? -

i'm doing calculation comparing current time against set of dates available. using getmonth() gives me months jan 0, in gmt +530 (ist). if alter timezone gmt -600 (mdt), jan appears 11. how normalize this?

javascript datetime web time timezone

Comments

Popular posts from this blog

python - How to add an model instance to a django queryset? -

Using Android Volley to post an array to PHP -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -