Cita:
Iniciado por memoadian
sabes que se me ocurre
![Pensando](http://static.forosdelweb.com/fdwtheme/images/smilies/scratchchin.gif)
quizas sea una locura pero
http://www.google.com/search?q=hora+...ient=firefox-a
es un link de la hora de México en google, por supuesto que todos los paises tienen esa opción.
bueno pues podrías hacer una consulta y con file_get_contents sacar el html y extraer la hora de ahí. a partir de funciones de php.
no lo sé solo es una idea loca :D.
BUENA IDEA!!!
mira, hice este, seguro que te sirve:
Código PHP:
<?php
$time=file_get_contents('http://json-time.appspot.com/time.json?tz=GMT');
$H=substr($time,strpos($time,'"hour": ')+8);$H=substr($H,0,strpos($H,","));
$M=substr($time,strpos($time,'"minute": ')+10);$M=substr($M,0,strpos($M,"\n"));
$S=substr($time,strpos($time,'"second": ')+10);$S=substr($S,0,strpos($S,","));
echo "$H:$M:$S";
?>