'H' | Hour of the day for the 24-hour clock, formatted as two digits with a leading zero where necessary, i.e., 00 - 23. |
'I' | Hour of the 12-hour clock, formatted as two digits with a leading zero as necessary, i.e., 01 - 12. |
'k' | Hour of the day for the 24-hour clock, i.e., 0-24. |
'k' | Hour of the 12-hour clock, i.e., 1 - 12. |
'M' | Minute within the hour formatted as two digits with a leading zero where necessary, i.e., 00 - 59. |
'S' | Seconds within a minute, formatted as two digits with a leading zero where necessary, i.e., 00 - 59. |
'L' | Millisecond within the second formatted as three digits with leading zeros as necessary, i.e., 000-999. |
'B' | Locale-specific full month name i.e. "January", "March". |
'b' | Locale-specific abbreviated month name i.e. "Jan", "Mar". |
'A' | Full name of the day of the week i.e. "Monday". |
'a' | Abbreviated name of the day of the week i.e. "Mon". |
'Y' | Year formatted as a 4 digit numeric value with leading zeros where necessary i.e. 0005 would be the year 5 in the Gregorian calendar. |
'y' | Last two digits of the year formatted with leading zeros where necessary. |
'j' | Day of the year formatted as three digits with leading zeros where necessary, i.e., 001 - 366 for the Gregorian calendar. |
'm' | Month, formatted as a two digit number with leading zeros where necessary, i.e., 01-13. |
'd' | Day of the month formatted as two digit number with leading zeros where necessary, i.e,. 00 - 31. |
'e' | Day of the month formatted as two digits, i.e., 0-31. |