DirectoryIterator::getATime

(PHP 5, PHP 7, PHP 8)

DirectoryIterator::getATimeRetorna a data de último acesso do arquivo

Descrição

DirectoryIterator::getATime ( ) : int
Aviso

Esta função não está documentada; somente a lista de argumentos está disponível.

Obtém o último tempo de acesso ao arquivo.

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

O último tempo de acesso ao arquivo.

add a note add a note

User Contributed Notes 1 note

up
0
petweb at quaint dot info
15 years ago
Note that, as with filetime, the returned value is a Unix timestamp. So it can be used with the date() function;

date ("F d Y H:i:s.", filemtime($file->getATime()));
To Top