Hi,

If I understood the API for Date right, it should be possible to pass a unix 
time stamp (as a 
number and as the one and only argument) to the constructor and then have a 
"normal" date 
object.

I try this:
testDate:Date = new Date(1180166923);

trace(testDate) // output: Wed Jan 14 16:49:26 GMT+0100 1970

If I convert the timestamp (e.g. on the web: 
http://www.4webhelp.net/us/timestamp.php?
action=stamp&stamp=1180166923&timezone=1)

I get: Saturday, May 26th 2007, 9:08:43 (GMT +1) ... which is the date I want

What am I missing here ? Thanks.

_rico

Reply via email to