3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start_date =strtotime('2013-02-13 12:02:00'); $end_date =strtotime('2013-02-20 12:02:00'); $total = ($end_datestart_date - $start_date); echo date("Y-m-d H:i:s",$total);

preferences:
34.99 ms | 402 KiB | 5 Q