How To Construct a Validation Rule for Date Fields

The available pattern symbols for constructing date validation rules are

The available syntax characters for constructing date validation rules are

-

Denote a range of dates.

|

Separates alternative dates or ranges of dates.

Examples of Date Validation Rules

Date values are stored in the format YYYYMMDD. Use DataMask to control how the date is to be input or displayed in the field. So the rule can be expressed as follows:

19990101-19991231

Input values that are accepted as legal include any date during 1999.