$file->modified()
Returns the file's last modification time
$file->modified(IntlDateFormatter|string|null $format = null, 'date'|'intl'|'strftime'|null $handler = null): string|int|false
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $format | IntlDateFormatterorstringornull |
null
|
|
| $handler | 'date'or'intl'or'strftime'ornull |
null
|
Custom date handler or nullfor the globally configured one |
Return types
stringorintorfalse
This method modifies the existing $file object it is applied to and returns it again.