This thing is full of streets, but I do not want a clear and complete article, write it, as a memo.
Date ()
Y: Year, four digits
Y: Year, two digits
F: Month, English full name, such as: "January"
M: month, two digits, from "01" to "12"
N: month, two digits, not 0; from "1" to "12"
M: Month, 3 English letters, e.g.: "Jan"
S: English ordinal number, two English letters, such as: "21th"
D: A few days, two digits, if insufficient 0; from "01" to "31"
J: Few days, not enough to be 0; from "1" to "31"
D: Day of the week, 3 English letters, such as: "Fri"
L: Day of the week, English full name, such as: "Friday"
W: Number of days of the week, from "0 (Sunday)" to "6 (Saturday)"
H:12 hours, from "01" to "12"
H: 24-hour hour, from "00" to "23"
G:12 hours of the hour, not 0; from "1" to "12"
G: 24-hour hour, not 0; from "0" to "23"
s: seconds; from "00" to "59"
A: "AM" or "PM"
A: "AM" or "PM"
R: represents RFC822 Date (Tue, 2007 14:25:52 +0000)
C: ISO8601 date, date format is yyyy-mm-dd, the letter T is used to interval the date and time, the time format is HH:MM:SS, and the time zone is represented by the deviation of Greenwich Mean Time (GMT). (2007-02-06t14:24:43+00:00)
I: is daylight saving time
T: Server's time zone setting
L: Whether it is a leap year
W: The number of weeks in a year
T: Specify the number of days of the month, from "28" to "31"
U: Total number of seconds (timestamp)
Z: The day of the Year; from "1" to "366"
The above describes the PHP date PHP in the date function of the parameters, including the PHP date content, I hope the PHP tutorial interested in a friend helpful.