convert to date formats code example Example: Convert to date format df[Date] = pd.to_datetime(df[Date], format="%m%d%Y %H:%M:%S")