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

Popular posts from this blog

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -