$page->modified()
Returns the last modification date of the page
$page->modified(string|null $format = null, string|null $handler = null, string|null $languageCode = null): string|int|false|null
Parameters
| Name | Type | Default |
|---|---|---|
| $format | stringornull |
null
|
| $handler | stringornull |
null
|
| $languageCode | stringornull |
null
|
Return types
stringorintorfalseornull
This method modifies the existing $page object it is applied to and returns it again.
Parent class
Examples
Last update: <?= $page->modified('d/m/Y H:i') ?>