Hi everyone,

I am formatting my date for a Flex label but I don't know how to do it.

I have the following at the moment:

var formatter:DateFormatter = new DateFormatter();
                                                                
formatter.formatString = "YYYY-MM-DD";

var example:Date = new Date();
                                                                
trace(formatter.format(example));

I am trying to display a label that will show the date in this format:  
YYYY-MM-DD over the last 90 days so it needs calculate from now and then 
backwards 90 day sand display that day.

Is that possible and how would I do it?  

Regards,
Wesley

Reply via email to