Fixed year outputting logic