Skip to content

Kirby 5.0.2

$image->modified()

Returns the file's last modification time

$image->modified(IntlDateFormatter|string|null $format = null, 'date'|'intl'|'strftime'|null $handler = null): string|int|false

Parameters

Name Type Default Description
$format IntlDateFormatterorstringornull null
$handler 'date'or'intl'or'strftime'ornull null Custom date handler or null
for the globally configured one

Return types

stringorintorfalse

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File