Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Version published after converting to the new editor

Default Output Location

...

The following codes can be used to create custom date / time formats.

CodeMeaningExample
dThe day of the month, from 1 through 31.8
ddThe day of the month, from 01 through 31.08
dddThe abbreviated name of the day of the week.Mon
ddddThe full name of the day of the week.Monday
hThe hour, using a 12-hour clock from 1 to 12.1
hhThe hour, using a 12-hour clock from 01 to 12.01
HThe hour, using a 24-hour clock from 0 to 23.13
HHThe hour, using a 24-hour clock from 00 to 23.13
mThe minute, from 0 through 59.9
mmThe minute, from 00 through 59.09
MThe month, from 1 through 12.3
MMThe month, from 01 through 12.03
MMMThe abbreviated name of the month.Mar
MMMMThe full name of the month.March
sThe second, from 0 through 59.9
ssThe second, from 00 through 59.09
tThe first character of the AM/PM designator.P
ttThe AM/PM designator.PM
yyYear (2-digit format)15
yyyyYear2015

...