Two types of date expressions are allowed, relational and arithmetic.
Relational date expressions provide for comparing two dates to determine their relative magnitude (for example, greater than, less than, or equal to). Arithmetic date expressions consist of two dates or a date and a numeric value equal to some number of days, months, or years. Variables, constants, and system data variables are allowed as terms in date expressions.