Reference

Guide

$page->modified()

Returns the last modification date of the page

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

Parameters

Name Type Default Description
$format string null
$handler string null

Return type

int|string

Example

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

Source code

kirby/src/Cms/Page.php#L879