Skip to content

Kirby 3.8.4

$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
$handler string null
$languageCode string null

Return type

int|string

Parent class

Kirby\Cms\Page

Example

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