auto add year to data

if the data are inserted this year then it should be auto stored in year like 2019 of the database and if the data are inserted next year then it should be auto stored in the year 2020.