Skip to content

Kirby 4.1.2

$page->modified()

Returns the last modification date of the page

$page->modified(?string $format = null, ?string $handler = null, ?string $languageCode = null): string|int|false|null

Parameters

Name Type Default
$format string|null null
$handler string|null null
$languageCode string|null null

Return type

string|int|false|null

Parent class

Kirby\Cms\Page

Example

Last update: <?= $page->modified('d/m/Y H:i') ?>