improve date handling for dates before 1900 and finding dates in datasets