When supplying a custom date format, a string of tokens that are entered will be replaced with their actual current date values when displayed.  For example, entering "MMMM D" will display a date such as "September 7".  Use the following table to find the individual available date format tokens:


Token TypeTokenDisplay Examples
MonthM1 2 ... 11 12

MM01 02 ... 11 12

MMMJan Feb ... Nov Dec

MMMMJanuary February ... November December
QuarterQ1 2 3 4
Day of MonthD1 2 ... 30 31

DD01 02 ... 30 31
Day of YearDDD1 2 ... 364 365

DDDD001 002 ... 364 365
Day of Weekd0 1 ... 5 6

ddSu Mo ... Fr Sa

dddSun Mon ... Fri Sat

ddddSunday Monday ... Friday Saturday
Day of Week (ISO)E1 2 ... 6 7
Week of Yearw1 2 ... 52 53

ww01 02 ... 52 53
YearYY70 71 ... 29 30

YYYY1970 1972 ... 2029 2030


Some other additional characters may be entered for separation, such as spaces, commas, periods, dashes, and slashes.  To enter other text that will always display, surround the string in square brackets, such as "[Hello!  Today is ]".


For additional formatting tokens beyond these, review the table under the "Display" section provided at the Moment.js site, here: https://momentjs.com/docs/#/displaying/format/