handles dates like 19911211