![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/02/2011, 11:21
|
| | Fecha de Ingreso: diciembre-2009
Mensajes: 186
Antigüedad: 15 años, 2 meses Puntos: 5 | |
Respuesta: Horario UTC Ya lo resolvi,
era tan facil como lo siguiente:
fecha=new Date(TIMESTAMP);
fechaUTC=new Date();
fechaUTC.setUTCHours(fecha.getHours());
fechaUTC.setUTCMinutes(fecha.getMinutes());
fechaUTC.setUTCDate(fecha.getDate());
fechaUTC.setUTCMonth(fecha.getMonth());
fechaUTC.setUTCFullYear(fecha.getFullYear()); |