Fix for Format Date 'yy' issue where getYear Depreciated

getYear() deprecated. Use the getFullYear() method instead