|
publish_time.hour |
|
publish_time.hour is a string variable containing the hour when the article was published using the 12-hour clock.
The format 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.hour}}.
For an article posted on Wednesday, February 18, 2004 at 19:23:26 Eastern Standard Time, the above would cause 07 to be displayed.