Hi,
can anyone help, my date object in javascript are always represented by UTC +2 because of where i am located. hence like this
Mon Sep 28 10:00:00 UTC+0200 2009
Problem is doing a Json.stringify converts the above date to
2009-09-28T08:00:00Z (notice 2 hours missing i.e. 8 instead of 10)
What i need is for the date and time to be honoured but its not, hence it should be
2009-09-28T10:00:00Z (this is how it should be)
Basically i using this i.e
var jsonData = JSON.stringify(jsonObject);
I tried passing a replacer parameter (second parameter on stringify) but the problem is that the value has already been processed.
I also tried using toString() and toUTCString() on the date object, but these don't give me what i want either..
Can anyon help me?