Unix Timestamp... any suggestions how to handle it?
How all. I have a grid in which I load an AJAX fetched XML. I use the following code to set the Formats:
Unfortunately a unix timestamp such as PHP and nearly all other unix based systems use it, is not supported. I only get an error. Does anyone have a quick and clean solution how to translate my unix timestamp to something the AW.Formats.Date can handle? A server-side solution won't do here.
Thanks in advance!
var str = new AW.Formats.String;
var date = new AW.Formats.Date;
obj.setCellFormat([str, date, date]);
Unfortunately a unix timestamp such as PHP and nearly all other unix based systems use it, is not supported. I only get an error. Does anyone have a quick and clean solution how to translate my unix timestamp to something the AW.Formats.Date can handle? A server-side solution won't do here.
Thanks in advance!
Yereth
July 21,