Select just the year, in a type fields 'Date'

Hello everybody

I have a field that is named ‘Annual Period’,
And I want to know how ,can I select in this field(type=’ Date '), just a year (without select the day and month)?

thank you for your help.

You can’t, you would need to create a new field type, as the date field will always expect a d/m/y format to be passed back.

And how can i do it ?