Business Rules 10.11 | webMethods Business Rules Web Help | webMethods 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.