- 1 Minute to read
- Print
- DarkLight
Compare Dates
- 1 Minute to read
- Print
- DarkLight
These functions provide tools for comparing two date values. Many of these functions process and return the information as a Boolean value which can be used to create personalization rules or selection criteria.
Function | Description |
---|---|
Determines whether two specified dates are equal. | |
Determines whether a specified date is greater than a reference date. | |
Determines whether a specified date is equal to or greater than a reference date. | |
Determines whether a specified date is less than a reference date. | |
Determines whether a specified date is equal to or less than a reference date. | |
Determines whether a specified date is not equal to a reference date. | |
Returns the number of years between two dates. | |
Determines whether a specified date is between a start and an end date. | |
Calculates the difference between two dates in a specified unit. | |
Verifies whether the current time is within one of the periods given as a parameter. |