comment time
From Textpattern CMS User Documentation
<txp:comment_time />
The comment_time tag is a single tag which is used to display the time and date the comment was submitted. Used in a comment form.
Attributes
This tag will accept the following attributes (case-sensitive):
- format="value"
- Override default date format, as set in preferences.
- Values: any valid strftime() string or
since. - 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 via preferences).
Examples
Example 1: Comments Display Form
<txp:comment_message /> <p><small>— <txp:comment_name /> <txp:comment_time /> <txp:comment_permlink>#</txp:comment_permlink></small></p>
Other tags used: comment_name, comment_message, comment_permlink




