- var_dump: documentation ( source)
- abs: documentation ( source)
- time: documentation ( source)
- round: documentation ( source)
- strtotime: documentation ( source)
<?php
$result = strtotime(null);
print round(abs(time() - $result) / 60, 0);
var_dump($result);