3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mysql_timestamp = "2014-10-21 11:49:34"; $this_is_new = false; if(strtotime($mysql_timestamp) > strtotime("-60 minutes")) { $this_is_new = true; } var_dump($this_is_new);

preferences:
35.24 ms | 402 KiB | 5 Q