$file->modified()
Get the file's last modification time.
Parameters
Name | Type | Default | Description |
---|---|---|---|
$format | string |IntlDateFormatter |null |
null |
|
$handler | string |
null |
date, intl or strftime |
$languageCode | string |
null |
Return type
mixed
Parent class
Example
The modification time reflects the actual file as well as the .txt
content file(s), whichever was last modified.