Skip to content

Kirby 4.1.0

F::modified()

Get the file's last modification time.

F::modified(string $file, IntlDateFormatter|string|null $format = null, ?string $handler = null): string|int|false

Parameters

Name Type Default Description
$file * string
$format IntlDateFormatter|string|null null
$handler string|null null Custom date handler or null
for the globally configured one

Return type

string|int|false

Parent class

Kirby\Filesystem\F