xarray.DataArray.dt.year#

DataArray.dt.year#

The year of the datetime