The date/time formatting mask uses the following syntax:
[date-part | embedded-chars]* | special-format
Mask |
Description |
---|---|
date-part |
Listed in the Date and Time Parts table |
embedded-chars |
Character codes other than those listed in the Date and Time Units and the Date and Time Parts tables |
special-format |
Listed in the Special Date and Time Formatting Codes table |
Note
To insert codes that are reserved as date-part codes, you can use HTML code (for example, you might use D for D).