Skip to content

Kirby 3.9.8

$file->modified()

Returns the file's last modification time

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

Parameters

Name Type Default Description
$format IntlDateFormatter|string|null null
$handler string|null null date, intl or strftime

Return type

string|int|false

Parent class

Kirby\Filesystem\File