Timestamp.year

Series.dt.year

Timestamp.replace