Write Year Function

Hi,
I want to know there is a Year function in CommCare in to order to extract part of a date field. If it is possible, please help me I need it. I want to extract a year from a date field.

You can use the format-date() function for this, which is documented in detail here: CommCare Functions - CommCare Public - CommCare Public

Thanks Aliza for the support. It was very help to me.