Probably because you're using the wrong format string: http://livedocs.adobe.com/flex/3/langref/mx/formatters/DateFormatter.html#formatString
I guess the C, Java, and .NET flavors did not provide enough inconsistent implementations... -----Original Message----- From: Thiago Rodrigues <[email protected]> Reply-to: [email protected] To: [email protected] Subject: [flexcoders] Full date Date: Wed, 8 Apr 2009 07:17:29 -0700 (PDT) Good morning everybody... Here in Brazil, our date format is: Day/Month/Year Hour:Minutes:Seconds.... I've made a function that return the curret date, but I also need the time (the full date)... With formatString = "DD/MM/YYYY HH:mm:ss" only the hour appears... Needing some help here... tnx... The function: import mx.formatters.DateFormatter; private function getData():String{ var dt:Date; var dtf:DateFormatter = new DateFormatter(); dtf.formatString = "DD/MM/YYYY"; dt = new Date(); return dtf.format(dt).toString(); } Thiago TRR MSN: [email protected] E-mails: [email protected] / [email protected] Celular: (32) 8834-2656 ________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes

