Lo en ingresado tal cual me lo has dicho pero, me marca un error:
Código HTML:
Ver originalNULL NULL NULL NULL NULL NULL NULL object(DateTime)#2 (3) { ["date"]=> string(19) "2013-11-12 12:31:59" ["timezone_type"]=> int(3) ["timezone"]=> string(3) "UTC" }
Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct() expects parameter 1 to be string, object given' in C:\wamp\www\pruebas\gob.php:161 Stack trace: #0 C:\wamp\www\pruebas\gob.php(161): DateTime->__construct(Object(DateTime)) #1 {main} thrown in C:\wamp\www\pruebas\gob.php on line 161
me sigue dejando la fecha actual..