
08/05/2007, 12:21
|
 | | | Fecha de Ingreso: noviembre-2004 Ubicación: Villa Ballester Bs-As|Ar
Mensajes: 2.002
Antigüedad: 20 años, 4 meses Puntos: 34 | |
Re: distinta fecha local y remoto Esta bien usar strtotime en ese caso. Puede servirte la siguiente función, avisame si te funciona (no la probe): Código PHP: function gmstrtotime( $time, $now ){ $timestamp = strtotime( $time, $now ); $zone = intval(date("O"))/100; $timestamp += $zone*60*60; return $timestamp; }
|