- microtime: documentation ( source)
- round: documentation ( source)
- explode: documentation ( source)
<?php
function tinms(){
return round(microtime(true) * 1000);
}
$start = explode(" | ", "1402255803676 | 10,494 | 117 ")[0];
$end = tinms();
$diff = $end - $start;
echo $diff >= 2592000000 ? "true" : "false";
?>