Designing and Implementing Business Process Models : Business Rules Reference : Functions Overview : int compareDates(Date date1, Date date2)
int compareDates(Date date1, Date date2)
Compares one date against another date and returns +1 if the first date is greater than the second date, -1 if the first date is less than the second date, and 0 if the dates are equal.
Input Parameters
date1
Date The first date to compare.
date2
Date The second date to compare against the first date.
Return Value
Integer The value 0 if dates are equal. The value -1 if the first date is before the second date. The value +1 if the first date is after the second date.
Copyright © 2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback