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
http://br.maisbuscados.yahoo.com

Reply via email to