SproutCMS

This is the code documentation for the SproutCMS project

function lastModified()

Return the last-modified date of all pages on the (sub-)site
Returns NULL on error.

The date is formatted using the php date function.
The default date format is "d/m/Y".

Usage

string|null Sprout::lastModified ( [ string $date_format ] );

Arguments

  1. string $date_format = d/m/Y
    The date format to return the date in

Return value

  • string
    Last modified date
  • null
    On error