[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
The Date type encompasses any calendar date value with the format shown in the Code Example section.
Operators
The binary operations in the following table take Date as a left operand.
| Operator | Right Operand | Return |
|---|---|---|
+ |
Time |
DateTime |
>, <, <=, >=, ==, != |
Date |
Logical |
Code Example
The following code shows the Departure field being declared as a Date and assigned the value 2005-10-5.
Departure : Date = 2005-10-5;