DateInterval.Years
From Xojo Documentation
Property (As Integer )
aDateInterval.Years = newIntegerValue
or
IntegerValue = aDateInterval.Years
Supported for all project types and targets.
or
IntegerValue = aDateInterval.Years
Supported for all project types and targets.
The number of years in the interval.