BANNER AD

converting milliseconds to hours and minutes

TEXT AD
Home / Design and Layout / Flash /
BOX AD
I have 2 Date objects and count down from now to ready,
and show it in not format of "00 HOURS and 00 MINS."
Code:
var now:Date = new Date();
var ready:Date = new Date(2008,9,10,12,0,0);

var dif:Number = (ready.valueOf() - now.valueOf());
trace(dif);
How can I convert difference to HOUR + MIN?

Please help.

P.S. I`m using A.S. 3.0
Aug 20, 2011
View Replies
unloading a swf with sound actionscript 3
How to get correct _height value, without the hidden mask part