Go to main content

Search result date



<txp:search_result_date />

The search_result_date tag is a single tag. This tag will provide the article posted date as returned by the search function.


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), or rfc822 (RFC 822 reference).
Default: the ‘Archive date format’ set in preferences.


Example 1: Displays the posting date of an article

        <txp:title />
    <txp:search_result_date /> | <txp:posted />

Used in a search results form, this offers a search result entry comprising a hyperlinked article title, and the date that article was posted.

Other tags used: title, permlink, posted.

If you notice any kind of problem with this page’s construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)