modified_date tag

We need your assistance to make the documentation accurate, user friendly and understandable. Therefore we welcome any tips or suggestions regarding documentation. Thank you in advance for your contribution.

However, we will not respond to technical support questions submitted using this form. If you are having difficulty with CMSMS and cannot find the solution on this website, please submit your question appropriately on our support forum at: http://forum.cmsmadesimple.org. Please remember to follow the forum rules when posting.

CMS Made Simple™ Partner



   Purpose

Prints the date and time the page was last modified. If no format is given, it will default to a format similar to 'Jan 01, 2004'.

   How to use?

Just insert the tag into your template/page like:

{modified_date}

   Available parameters

  • format - Date/Time format using parameters from php's strftime function.
    See this website for a parameter list and more information: http://php.net/strftime
  • assign - Assign the results to the named smarty variable.

   Syntax examples

{modified_date format="%A %d-%b-%y %T %Z"}

This page was last modified on Monday 08-Jun-15 04:32:06 EDT