$page->modified($format = false)

Returns the unix timestamp or a formatted date string of the last modification date of the page

  • $format (string)
    A date format
  • return (integer | string)

Example

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

Is something missing or incorrect? Edit this page on Github…