Link date
Contents
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) as well as the global attributes :
format="format string"
- Override the default date format set in the Preferences panel.
- Values: any valid strftime string values,
since
,iso8601
(ISO 8601 reference),w3cdtf
(W3CDTF reference), orrfc822
(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) or1
(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 panel.
Examples
Example 1: Display a link with date and a class attribute
<a class="awesome-links" href="<txp:link_url />">
<txp:link_name escape="html" />:
</a>
(<txp:link_date />)