Standardizes date formats.