Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/09/2006, 06:35
forojuan
 
Fecha de Ingreso: agosto-2006
Mensajes: 13
Antigüedad: 20 años, 2 meses
Puntos: 0
aqui un ejemplo del manejo de la hora
Código PHP:
    public static String getHoraLocal() {
        
Date today = new Date();
        
String result;
        
DateFormat formatter;

        
Locale currentLocale = new Locale("de", "DE");
        
formatter = DateFormat
                
.getTimeInstance(DateFormat.MEDIUM, currentLocale);
        
result = formatter.format(today);

        return 
result;
    }