3v4l.org

run code in 300+ PHP versions simultaneously
<?php $starttime='1899-12-30T16:30:00'; echo $starttime . "\n\r"; echo 'start: ' . date('H:i:s', strtotime($starttime)) . "\n\r"; echo "\n\r"; $end = '1899-12-30T16:45:00'; echo $end . "\n\r"; echo 'end: ' . date('H:i:s',strtotime($end)); /* date_default_timezone_set('America/New_York'); $starttime='1899-12-30T16:30:00'; echo $starttime . "\n\r"; echo date('H:i:s', strtotime($starttime)) . "\n\r"; */

preferences:
48.09 ms | 402 KiB | 5 Q