Try OpenEdge Now
skip to main content
ABL Data Types Addenda
DATETIME and DATETIME-TZ data types : Comparing date and datetime values
 

Comparing date and datetime values

You cannot compare data of different DATE, DATETIME, and DATETIME-TZ data types to each other using relational operators (for example, EQ) or the MAXIMUM and MINIMUM functions. You must first convert different date and datetime data types to the same data type before doing a comparison between them.