Skip to content

Kirby 3.7.5

$file->modified()

Returns the file's last modification time

$file->modified(string|\IntlDateFormatter|null $format = null, string $handler = null): mixed

Parameters

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

Return type

mixed

Parent class

Kirby\Filesystem\File