Skip to content
Contact us

YearsAfter()

YearsAfter ( ‘date1’, ‘date2’ )

ArgumentDescription
date1A date value represented as string that is the start of the interval being measured
date2A date value represented as string that is the end of the interval

Data type: Long Returns a long containing the number of years

YearsAfter( '2010-04-21' , '2013-11-27' )

This expression returns 3