Whenever I try to convert the date string, it changes the time from GMT+5 (Pakistan Time) to GMT+0, how can I disable this functionality, so that it wouldn't change the time before and after the conversion.
This date:
Sun Jan 25 2015 00:40:00 GMT+0500 (Pakistan Standard Time)
Sun Jan 25 2015 01:35:00 GMT+0500 (Pakistan Standard Time)
is converted to this date:
2015-01-24T20:35:00.000Z
2015-01-24T19:40:00.000Z