Dir::modified()
Recursively check when the dir and all subfolders have been modified for the last time.
Dir::modified(string $dir, string|null $format = null, 'date'|'intl'|'strftime'|null $handler = null): int|string|false
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $dirrequired | string |
no default value | |
| $format | stringornull |
null
|
|
| $handler | 'date'or'intl'or'strftime'ornull |
null
|
Custom date handler or null for the globally configured one |
Return types
intorstringorfalse