handle dates before 1900