how to get system date in as2
this not working
var currdate:date = new date(); | |
txttest.text = currdate; box empty |
also when find works, parse out yyyy mm , dd
have seen these examples, not sure @ point 1 work or both?
var currentdate=new date();
var month=currentdate.getmonth();
var day=currentdate.getdate();
var year=currentdate.getfullyear();
or
var mm = currentdate.month
var yyyy = currentdate.fullyear
var dd = currentdate.day
i need assemble date this: yyyymmdd, using date compares
if first code showed not displaying date, problem have done textfield... code works when textfield configured.
make sure assigning instance name textfield says instance name in properties panel. make sure color of text in textfield not same background color.
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment