Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

CharacterMeaningExample (2 August 2018, 16:09:22)
EDay of week as number (1-7 where Monday=1)4
EEEEDay of week, full nameThursday
dDay of month2
dd

Day of month, with leading 0 if less than 10

02
MMonth as a number8
MMMonth as a number, with leading 0 if less than 1008
MMMMonth as text, abbreviated to 3 charactersAug
MMMMMonth as text, full nameAugust
y or yyyyYear, 4 digits2018
yyYear, 2 digits18
HHour of day (0-23)16
HHHour of day (0-23), with leading 0 if less than 1016
hClock hour of half day (1-12)4
hhClock hour of half day (1-12), with leading 0 if less than 1004
mMinute9
mmMinute, with leading 0 if less than 1009
sSecond22
ssSeconds, with leading 0 if less than 1022

...