date ( "Ymd H: i: s"); the format: year - month - day hours: minutes: seconds
Time-related parameters:
a - "am" or "PM"
A - "AM" or "the PM"
D - a few days, two digits, if it is less than two leading zeros; such as: "01" to "31 is"
D - Week a few, three letters; such as: "Fri"
F - month, the English full name; such as: "January"
H - 12-hour clock; such as: "01" to "12"
H - 24-hour clock; such as: "00" to "23 is"
G - 12 is hour clock, less than two bits are not zero padding; such as: "1" to 12 is "
G - 24-hour clock, less than two bits are not zero padding; such as:" 0 "to" 23 "
i - minutes; such as:" 00 "to" 59 "
J - a few days, two figures, if less than two not zero padding; such as:" 1 "to" 31 "
L - day of the week, English full name; described: "catalog on Friday"
m - month, two digits, if it is less than two leading zeros; such as: "01" to "12 is"
n-- month, two digits, if not less than two zero padding; such as: "1" to "12 is"
M - month, three letters; such as: " Jan "
S - seconds; such as:" 00 "to" 59 "
S - suffix plus the number of English sequence, two letters; such as:" TH "," Nd "
T - number of days specified month; such as:" 28 "to "31"
U - total number of seconds
w - numeric day of the week, such as: "0" (Sunday) to "6" (Saturday)
Y - Year, four digits; such as: "1999"
the y-- years, two figures; such as: "99"
z - the first day of the year; such as: "0" to "365"