<txp:modified /> single tag, 3 attributes


The modified tag is a single tag which is used to return the modfication date of the article being displayed. The format is determined by the settings specified in the Date Format, or Archive Date Format, fields on the Basic Preferences tab.


  • Override the default date format set in the preferences.
  • Values: any valid strftime() string values, since, iso8601, w3cdtf, or rfc822.
gmt="0" (boolean)
  • Return either local time according to the set time zone preferences or GMT time.
  • Format time string suitable for the specified language (locale).
  • Values: locales adhere to ISO-639.


Version 4.0.7

  • tag added.
<txp:modified /> 2 examples

Display “since” format date setting

<p>modified: <txp:modified format="since" /></p>

would result in:

<p>modified: 29 Days ago</p>

Display custom date format

<p>modified: <txp:modified format="%b %d, %Y" /></p>

would result in:

<p>modified: May 28, 2005</p>