This content has been marked as final. Show 4 replies
I think (without checking - I normally have to with the Date object) its using .valueOf()
var myDate:Date=new Date();
var startDate:Date=new Date(1970, 0, 1);
Sorry I thought you meant milliseconds....re-reading it you said seconds... well .valueOf() returns milliseconds... so just divide by 1000... its easier.