<?PHPEcho"Time format 1:".Date("Y-m-d h:i:s"). " <br> ";//2010-06-12 10:26:31Echo"Time Format 2:".Date("Y-m-d h:i:s"). " <br> ";//10-jun-sat 10:43:thEcho"Month, English full name:".Date("F"). " <br> ";//JuneEcho"Month, two digits, 0:".Date("M"). " <br> ";// .Echo"Month, two digits, not 0:".Date("n"). " <br> ";//6Echo"Month, three English:".Date("M"). " <br> ";//JuneEcho"Day of the week, English full name:".Date("L"). " <br> ";//SaturdayEcho"Days of the week, three English:".Date("D"). " <br> ";//SatEcho"Day of the week, digital type:".Date("W"). " <br> ";//6?>Y-year, four digits; such as: "1999"y-year, two digits; such as: "99"Z-The day of the year; such as: "0" to "365"F-month, full name in English; such as: "January"m-month, two digits, if less than two digits in front of 0; such as: "01" to "12"N-month, two digits, if less than two digits does not fill 0; such as: "1" to "12"M-month, three letters of English; such as: "Jan"T-The number of days in the specified month; such as: "28" to "31"D-A few days, two digits, if less than two is the front 0; such as: "01" to "31"J-A few days, two digits, if less than two digits do not fill 0; such as: "1" to "31"h-hour of 12 hours; such as: "01" to "12"H-hour of 24 hours; such as: "00" to "23"g-12-hour hour, less than two not 0; such as: "1" to 12 "G-24-hour hour, less than two bits not 0;"0" to "23"I-minute, such as:"00" to "59"S-sec; for example:"00" to "59"S-End with English ordinal number, two English letters;"th", "nd"U-Total seconds D-days of the week, three English letters;"Fri"L-Day of the week, full English name, e.g.:"Friday"W-Number of days of the week, such as:"0" (Sunday) to "6"(Saturday) A-"AM" or "PM"A-"AM" or "PM"
PHP converts timestamps into English format