Hey,
I’m trying to format the date using the date field component.
At the moment I am using
trace(StartDate2.selectedDate);
Which returns something like.
Wed Apr 18 00:00:00 GMT+0200 2007
Thats fine. But basically I only need. “Wed April 18”
I tried using the date object.
Something like
var date_str:String = ((StartDate.getMonth()+1)+"/"+StartDate.getDate()+"/"+StartDate.getFullYear());
StartDate is the instance name…
I’m not having much luck…
Any help much appreciated…
thx.