Valid DATE Values


A valid DATE value must fall between January 1, 1000, and December 31, 9999. It must conform to one of the following three styles, which you can mix throughout a session:

Numeric style -- Specify the day, month, and year as three INTEGER values with one or more separators between them, using these rules:

Packed numeric style -- Specify the day, month, and year as three INTEGER values with no separators between them, using these rules:

Month name style -- Specify the day and year as INTEGER values and the month as text, using these rules:

To determine whether a text expression (such as an expression with a data type of TEXT or ID) represents a valid DATE value, use the ISDATE program.