TimeStamp with a different Timezone
I am filling the grid with xml data. One column is a timestamp:
<timestamp>2006-08-02 11:39:00.0</timestamp>
My code to format the column:
var timestamp = new AW.Formats.Date;
timestamp.setTextFormat("dd.mm.yyyy hh:mm:ss");
timestamp.setDataFormat("ISO8061");
The grid shows the column with a 2 hour time difference:
02.08.2006 13:39:00
I have tried my best with timestamp.setDataTimezone("UTC"); but did not succeed. Can someone post a working example to deal with a timestamp and how to use the methods
timestamp.setDataTimezone("???"); and
timestamp.setTextTimezone("???");
Thanks for any help...
<timestamp>2006-08-02 11:39:00.0</timestamp>
My code to format the column:
var timestamp = new AW.Formats.Date;
timestamp.setTextFormat("dd.mm.yyyy hh:mm:ss");
timestamp.setDataFormat("ISO8061");
The grid shows the column with a 2 hour time difference:
02.08.2006 13:39:00
I have tried my best with timestamp.setDataTimezone("UTC"); but did not succeed. Can someone post a working example to deal with a timestamp and how to use the methods
timestamp.setDataTimezone("???"); and
timestamp.setTextTimezone("???");
Thanks for any help...
Kellog
August 3,