
30/03/2009, 08:38
|
 | | | Fecha de Ingreso: octubre-2007 Ubicación: Argentina
Mensajes: 58
Antigüedad: 17 años, 4 meses Puntos: 2 | |
Respuesta: Sumar horas a una fecha
Código:
SimpleDateFormat formatoFecha = new SimpleDateFormat("dd/MM/yyyy : HH.mm");
Calendar ahora = Calendar.getInstance();
ahora.add(Calendar.HOUR, 48);
Date fechaActual = ahora.getTime();
Gracias Gente! |