yyyy | four digit year |
yy | two digit year |
MMMM | full month name |
MMM | abbreviated month name |
MM | always two digit month number |
M | one or two digit month number |
dddd | full day of week name |
ddd | abbreviated day of week name |
dd | always two digit day number |
d | one or two digit day number |
kw | German "Kalender Woche" (week number) |
mjd | modified Julian day number |
HH | always two digit 24 hour |
H | one or two digit 24 hour |
hh | always two digit 12 hour |
h | one or two digit 12 hour |
mm | always two digit minute |
m | one or two digit minute |
ss | always two digit second |
s | one or two digit second |
tt | morning or afternoon marker (AM or PM in English) |
xxxxxxx | seven decimal fractional seconds |
xxxxxx | six decimal fractional seconds |
xxxxx | five decimal fractional seconds |
xxxx | four decimal fractional seconds |
xxx | three decimal fractional seconds |
xx | two decimal fractional seconds |
x | one decimal fractional seconds |
zzzz | full time zone name |
zzz | abbreviated time zone name |
+zzzz | always four digit time zone offset from UTC with plus or minus sign |
+zz | always two digit time zone offset from UTC with plus or minus sign |
+z | one or two digit time zone offset from UTC with plus or minus sign |