multiFEED allows you to display the publication date and time on the front page any way you like by building a custom format pattern from special tokens. The available tokens are:
H |
The hour part of the time in 24 hour style (i.e., 0 for midnight, 12 for noon, 5 for 5am, 17 for 5pm). One or two digits. |
HH |
The hour part of the time in 24 hour style. Always two digits with a leading zero if needed. |
h |
The hour part of the time in 12 hour style (i.e., 12 for midnight and noon, 5 for 5am and 5pm). One or two digits. |
hh |
The hour part of the time in 12 hour style. Always two digits with a leading zero if needed. |
m |
The minutes part of the time. One or two digits. |
mm |
The minutes part of the time. Always two digits with a leading zero if needed. |
s |
The seconds part of the time. One or two digits. |
ss |
The seconds part of the time. Always two digits with a leading zero if needed. |
y |
The two digit year (i.e., 98 for 1998, 15 for 2015). |
Y |
The four digit year (i.e., 1998 or 2015). |
d |
The day of the month. One or two digits. |
dd |
The day of the month. Always two digits with a leading zero if needed. |
x |
The day of the month with suffix. (i.e., 1st, 3rd, 10th, 22nd...). |
a |
am or pm |
A |
AM or PM |
z |
"z" if the time is UTC or nothing if the time is local. |
Z |
"Z" if the time is UTC or nothing if the time is local. |
@ |
The short day of the week (i.e., Mon, Thu, Sat). |
@@ |
The long day of the week (i.e., Monday, Thursday, Saturday). |
# |
The numerical month part of the date. One or two digits (i.e., 1 for January, 11 for November). |
## |
The numerical month part of the date. Always two digits with a leading zero if needed. (i.e., 01 for January, 11 for November). |
### |
The short name of the month part of the date (i.e., Jan, Jul, Sep). |
#### |
The long name of the month part of the date (i.e., January, July, September). |
Any characters in the format pattern that are not part of a token are left as-is. Unless you change it, the default date format pattern is "Y-##-dd HH:mm:ssZ", which produces an RFC3339 standard date and time that looks like this:
2013-08-15 17:23:35Z
Feel free to format the date and time any way you like. For instance a pattern of "@@ #### x Y - h:mm:ssa" produces results that look like this:
Tuesday August 19th, 2013 - 8:25:29pm