php - What the unit of this date calculation? -
what unit in s or mn of element?
$date = date('f d y h:i:s.', filectime($filename)) $result = time() - $date; $result = 1492181252;
is in second?
php timestamps seconds. says in documentation of time
:
returns current time measured in number of seconds since unix epoch (january 1 1970 00:00:00 gmt).
Comments
Post a Comment