问题 |
答案 |
Represents zero or more characters 开始学习
|
|
bl% finds bl, black, blue, and blob
|
|
|
Represents a single character 开始学习
|
|
h_t finds hot, hat, and hit
|
|
|
Represents any single character within the brackets 开始学习
|
|
h[oa]t finds hot and hat, but not hit
|
|
|
Represents any character not in the brackets 开始学习
|
|
h[^oa]t finds hit, but not hot and hat
|
|
|
Represents a range of characters 开始学习
|
|
c[a-b]t finds cat and cbt
|
|
|
Abbreviated weekday name (Sun to Sat) 开始学习
|
|
|
|
|
Abbreviated month name (Jan to Dec) 开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
Day of the month as a numeric value, followed by suffix (1st, 2nd, 3rd, ...) 开始学习
|
|
|
|
|
Day of the month as a numeric value (01 to 31) 开始学习
|
|
|
|
|
Day of the month as a numeric value (0 to 31) 开始学习
|
|
|
|
|
Microseconds (000000 to 999999) 开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
Day of the year (001 to 366) 开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
Month name in full (January to December) 开始学习
|
|
|
|
|
Month name as a numeric value (00 to 12) 开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
Time in 12 hour AM or PM format (hh: mm: ss AM/PM) 开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
开始学习
|
|
|
|
|
Time in 24 hour format (hh: mm: ss) 开始学习
|
|
|
|
|
Week where Sunday is the first day of the week (00 to 53) 开始学习
|
|
|
|
|
Week where Monday is the first day of the week (00 to 53) 开始学习
|
|
|
|
|
Week where Sunday is the first day of the week (01 to 53). Used with %X 开始学习
|
|
|
|
|
Week where Monday is the first day of the week (01 to 53). Used with %x 开始学习
|
|
|
|
|
Weekday name in full (Sunday to Saturday) 开始学习
|
|
|
|
|
Day of the week where Sunday=0 and Saturday=6 开始学习
|
|
|
|
|
Year for the week where Sunday is the first day of the week. Used with %V 开始学习
|
|
|
|
|
Year for the week where Monday is the first day of the week. Used with %v 开始学习
|
|
|
|
|
Year as a numeric, 4-digit value 开始学习
|
|
|
|
|
Year as a numeric, 2-digit value 开始学习
|
|
|
|
|