Software AG Products 10.11 | Designing and Implementing Business Process Models | Business Rules Reference | Functions | Summary of Date Functions | long diffInYears(Date anotherDate)
 
long diffInYears(Date anotherDate)
Returns the mathematical difference in years between this date and the specified date ignoring the times of both dates.
Input Parameters
anotherDate
Date The date to be used to compute the mathematical difference in years from this date.
Return Value
Integer The mathematical difference in years between this date and the specified date ignoring the times of both dates.