Tuesday, May 10, 2011

Date Format in flex4 (DD/MM/YYYY)


public var today:Date = new Date();
public var todayString:String = DateField.dateToString(today, "DD/MM/YYYY");


Output should be :  10/05/2011

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Best Wallpapers collections