Skip to content

Kirby 3.6.6

F::modified()

Get the file's last modification time.

F::modified(string $file, string|\IntlDateFormatter|null $format = null, string $handler = 'date'): mixed

Parameters

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

Return type

mixed

Parent class

Kirby\Filesystem\F