four.digit.year function

Correct conversion of years to four digit format