I have a string, and I have converted it into a Date variable. But the timezone is turning out to be wrong.
The string I'm trying to use is :
var v = "2013/09/05 17:53 -05:00";
var parsedvalueInField = new Date( v );
If I do an alert of parsedvalueInField,the output I get is:
Thu Sep 05 2013 18:53:00 GMT-0400 ( Eastern Daylight Time);
How do I go about rectifying this difference in Timezone?
Please Help!