Date Masks
Date masks will always will fill the positions for day and month, so January is “01” January 5th is “01-05”. The separator between day, month and year is always “-” (if the mask is “##/##/##” the mask is changed to “##-##-##”.
- date1 mask “##-##-##” — this is the default format for dates with no mask.
- January 5, 2013 prints 01-05-13
- October 30, 2013 prints 10-30-13
- date1 mask “##-##-####” — the 4 “####” indicates that the year is 4 digits.
- February 20, 2013 prints 02-20-2013
- November 10, 2013 prints 11-10-2013
- date1 mask “######” — without a separator, the date is month, day, year.
- January 10, 2013 prints 011013
- date1 mask “########” — without a separator, but with 8 digits means full 4 digit year.
- January 10, 2013 prints 01102013
- date1 month year mask “##-####” — the modifiers month and year sets the fields in the mask.
- March 10, 2013 prints 03-2013
- date1 month year mask “######” — even without the separator, with the modifiers the mask is determined.
- January 15, 2013 prints 012013
- date1 year month mask “######” — and the opposite
- January 15, 2013 prints 201301
- date1 year month day mask “########”
- January 15, 2013 prints 20130115
- date1 year month mask “####-##”
- January 15, 2013 prints 2013-01
- date1 year mask “##”
- January 15, 2013 prints 13
- date1 year mask “####”
- January 15, 2013 prints 2013
A fiery horse with the speed of light, a cloud of dust and a hearty Hi-Yo Silver! Away!
Page 1 — mask
Page 2 — the asterisk
Page 3 — numeric masks
Page 4 — decimal masks
Page 5 — date mask