<?php$dateEvent = "2011-07-26 20:05:00";$dateEvent = strtotime($dateEvent);echo $h=new DateTime( date('Y-m-d')); // your code goes here
Standard input is empty
Standard output is empty
PHP Catchable fatal error: Object of class DateTime could not be converted to string in /home/tnb44T/prog.php on line 4
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!