Skip to content

Kirby 3.9.8

F::modified()

Get the file's last modification time.

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

Parameters

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

Return type

string|int|false

Parent class

Kirby\Filesystem\F