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 <thiagotrr...@yahoo.com.br> Reply-to: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com 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: thiago...@hotmail.com E-mails: thiagotrr...@yahoo.com.br / thiago.trr....@gmail.com Celular: (32) 8834-2656 ________________________________________________________________________ Veja quais são os assuntos do momento no Yahoo! + Buscados: Top 10 - Celebridades - Música - Esportes