PHP function fileatime()

Availability in PHP 4.0

Gets last access time of file

Parameters

Parameter Data type Default value Note
$filename string not Path to the file.

Return values

int

|bool the time the file was last accessed, or false on failure. The time is returned as a Unix timestamp.

Other resources

Official fileatime documentation

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.