Google Chrome
new Date()
//returns Fri Mar 29 2013 17:55:25 GMT+0530 (IST)
IE8
new Date()
//returns Fri Mar 29 17:48:46 UTC+0530 2013
I need to extract (IST)
part from the Date on IE,On chrome I could do dateString.substring
to extract it but on IE I cannot do that.
The method getTimeZoneOffset
gives me the offset in minutes, is there a way to get the string using the offset ?
Or do I need to research for all the timezone strings corresponding to the offsets and create an object out of it & then use it ?