publish_time.24hour
Previous
Top
Next
A string variable containing the hour (in 24-hour clock format) when the article was published.
The format of publish_time is:
hh
Where
hh
are the digits for the hour. Hours less than 10 have a leading zero.
Example
The following displays the hour when the article was posted immediately after "Posted at hour":
Posted at hour {{publish_time.24hour}}.
For an article posted on Wednesday, February 18, 2004 at 19:23:26 Eastern Standard Time, the above would cause "19" to be displayed.