yearFromDate function

Year from date formats that are possibly ambiguous