Hi,
I have a dateField on which i want to format the displayed date. I want to show it like "DD/MM/YYYY". I´m trying to use this function with a call in the change="formatNasc(DateField(event.target).selectedDate)" event, but it still displays in "MM/DD/YYYY" format.

private function formatNasc(date:Date):void{
    var formatter:DateFormatter = new DateFormatter();
    formatter.formatString = "DD/MM/YYYY";   
    xClienteDataNasc.text = formatter.format(date);
}

What´s the point here?
Regards.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to