Skip to content

Kirby 3.8.4

$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 date, intl or strftime

Return type

string|int|false

Parent class

Kirby\Filesystem\File