Cahnges year to int field.