Fixed bug where year was being returned as 0000