JavaScript convert date with local Timezone and legal time offset -


i working on conversion of utc date. date format received server inside json file has following format:

"opendate":"2015-10-26t08:00:00z" 

i translate date using following function:

var mydate = myjson.opendate.tolocalestring(); 

the problem occurs after 25th of october, when legal time changed. after 25th of october dates 1 hour earlier, shouldn't. how can keep consideration change in time? if appointment says 8 a.m. utc should 9 a.m. our timezone, when legal time changed.


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -