A date format string is composed of the following control characters:
| D | Represents a numeric day. There can only be 2 D's in a date format string. |
| M | Represents a numeric month. There can only be 2 M's in a date format string. |
| S | Represents a string month (for example, Mar or March depending on the number of S's). There must be enough S's in the string to uniquely specify the month. |
| Y | Represents a numeric year. There can be 2 or 4 Y's in a date format string. |
Any character other than M, D, Y, and S can be used as date separators between the day, month, and year components of the date.
String months are determined by accessing an array of month names. This array is located in vv_main.h. If the date format string specifies three S's, only the first three letters in the month name are used. For international compatibility, you can change the month names in this array to the language of your choice.
Some possible date formats you could use and how the date August 25, 1965, would be represented follow:
| DD/MM/YY | 25/08/65 |
| DD-SSS-YY | 25-Aug-65 |
| MM/DD/YYYY | 08/25/1965 |
| SSS DD, YYYY | Aug 25, 1965 |
For your convenience, the following date formats are defined by the system:
| US_DATE | "MM/DD/YY" |
| EURO_DATE | "DD/MM/YY" |