3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = time(); // or your date as well $your_birth_date = strtotime("2014-06-24"); $datediff = abs($now - $your_birth_date); echo $datediff->format('%h hours %i minutes'); ?>

preferences:
32.08 ms | 402 KiB | 5 Q