- date_diff: documentation ( source)
- date: documentation ( source)
<?php
$change = 1453404531;
$then = date("F j, Y, g:i a", $change);
$now = date("F j, Y, g:i a", "now");
$interval = date_diff($then, $now);
echo $interval->format("%H:%I");