I have a custom field whose data type is "Date". I would like to use this field in a formula editor. I want to get only the year value from the date field( field api name is
pres_date__c). When I used the following it gave me a error that-
pres_date__c may not be used in this type of formula
Both of the above did not give me an year value. Any suggestion how can I just get the year from date?