publish_time.hour
Previous  Top  Next

A string variable containing the hour (in 12-hour clock format) when the article was published.

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.