Formatting Symbols for Dates

Table 1. Formatting Symbols for Dates
Character Description
dd Day of the month as a two-digit integer.
ddd Three-letter English-language abbreviation of the day of the week, for example, Mon, Tue.
mm Month as a two-digit integer.
mmm Three-letter English-language abbreviation of the month, for example, Jan, Feb.
yy

Year, as a two-digit integer representing the two trailing digits.

yyyy Year as a four-digit number.