$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 | string ornull |
null
|
$handler | string ornull |
null
|
$languageCode | string ornull |
null
|
Return types
string
orint
orfalse
ornull
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') ?>