Standard.BaseDataTimePeriodyearsOn this pagePeriod.years years Group: DateTime Documentation Get the portion of the period expressed in years.