optimised getYear()