Link date

On this page:

Syntax

<txp:link_date />

The link_date tag is a single tag which returns the date the link was created as text. This tag is used in a ‘links’ type form or inside the linklist container tag to display information about the current link.

Attributes

Tag will accept the following attributes (case-sensitive):

format="format string"
Override the default date format set in the Preferences administration panel.
Values: any valid strftime string values, since, iso8601 (ISO 8601 reference), w3cdtf (W3CDTF reference), or rfc822 (RFC 822 reference).
Default: the ‘Date format’ set in preferences.
gmt="boolean"
Return either local time (according to the set time zone preferences) or GMT.
Values: 0 (local time) or 1 (GMT).
Default: 0.
lang="ISO language code"
Format time string suitable for the specified language (locale).
Values: locales adhere to ISO-639.
Default: unset (time format set in the Preferences administration panel.

Examples

<a class="awesome-links" href="<txp:link_url />">
    <txp:link_name escape="html" />:
</a>
(<txp:link_date />)

Other tags used: link_name, link_url.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.