|
publish_time.ampm |
|
publish_time.ampm is a string variable containing AM if the article was posted between 00:00 and 11:59 inclusive and PM if the article was posted between 12:00 and 23:59 inclusive.
Example
The following displays the AM or PM when the article was posted immediately after Posted in the:
Posted in the {{publish_time.ampm}}.
For an article posted on Wednesday, February 18, 2004 at 19:23:26 Eastern Standard Time, the above would cause PM to be displayed.