actionscript 3 - Comparative date in as3? -
i need comparative date in as3?
in start run read system date.
if date = 5/5/2015 gotoandstop(1);
&
if date = 10/5/2015 gotoandstop(2);
tanx.
here's comparing current date set date:
var dcheck:date = new date('5/25/2015'); var dtemp:date = new date(); var dcurrent:date = new date(dtemp.fullyear,dtemp.month,dtemp.date); if(dcheck.gettime() == dcurrent.gettime()){ trace("success"); }
edited
Comments
Post a Comment