PHP 5 Time and Date Formats: ->
Symbol: - Description:
a - Displays "am" or "pm".
A - Displays "AM" or "PM".
B - Swatch Internet Time (between 000 and 999).
c - Date in ISO 8601 format.
d - Gives the day of the month, 2 digits with leading zeros; that is, "01" to "31".
D - Shows day of week, textual, 3 letters; for example, "Fri".
F - Displays month, textual, long; for example, "January".
h - Shows the hour, 12-hour format; that is, "01" to "12".
H - Shows the hour, 24 - hour format; that is, "00" to "23".
g - Shows the hour, 12 - hour without leading zeros; that is, "1" to "12".
G - Shows the hour, 24 - hour format without leading zeros; that is, "0" to "23".
i - Display the minutes; that is, "00" to "59".
I - Whether date is in DST (1) or not (0).
j - Gives the day of the month without leading zeros; that is, "1" to "31".
l - Gives the day of the week, textual, long; for example, "Friday".
L - Boolean for whether is a leap, year; that is, "0" or "1".
m - Shows the month, that is, "01" to "12".
M - Gives the month, textual, 3 letters; that for example, "Jan".
n - Shows the month, that is, "01" to "12".
O - Difference to GMT (for example, +0100 for one hour ahead).
s - Display the seconds; that is, "00" to "59".
S - Ordinal suffix for the day of month (st, nr, td, th).
r - Date in RFC 2822 format.
t - The number of days in the given month; that is, '28" to "31".
T - Timezone setting of this machine; for example, "MDT".
U - Displays the seconds since the epoch.
w - Shows the day of the week, numeric, that is, "0" (Sunday) to "6" (Saturday).
W - Week number (according to ISO 8601, from 1 to 53).
Y - Displays the year, 4 digits; for example, "2007".
y - Displays the year, 2 digits; for example, "07"
z - Shows the day of the year; that is, "0" to "365".
Z - Gives the timezone offset in seconds (that is, "-43200" to "43200").