$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: <?php echo $page->modified('d/m/Y H:i') ?>