Skip to content

Kirby 3.9.8

$page->modified()

Returns the last modification date of the page

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

Parameters

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

Return type

int|string

Parent class

Kirby\Cms\Page

Example

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