ensure parsing to Date