Bug fix

date.year cannot be set to 9999 to prevent out_of_range exception