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