publish_time.24hour

Previous page  First page  Next page

publish_time.24hour is a  string variable containing the hour the article was published using the 24-hour clock.

 

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.