Comparison Operation Examples
Examples in this section demonstrate comparison operations that can be performed on date or time data types.
| Operator | Example | Result | Description | 
|---|---|---|---|
| 
                               >  | 
                           
                               date("2012-12-25") > date("2015-12-25")  | 
                           
                               false  | 
                           
                               Determines if Date A occurs after Date B  | 
                        
| 
                               >  | 
                           
                               ((date("2015-12-25") - date("2015-11-25")) > duration( "P1Y" )  | 
                           
                               false  | 
                           
                               Determines if Duration A is greater than Duration B  |