DATETIME stores in this format YYYY-MM-DD H:i:s. Here is a quick set of date formatting code you may find useful. I assume your dates list the month first (MM/DD/YYYY) and not the day (DD/MM/YYYY). If they do list the day first, it is no problem, just a simple switch on the return. Also, this allows you to define the separating character i.e. mm / dd / yyyy or mm . dd . yyyy. For example $var = dateNormtoUnix("/", $date); or $var = dateNormtoUnix(".", $date);
This is for a date formatted with the month first MM/DD/YYYY:
This is for a date formatted with the day first DD/MM/YYYY:
You query each date then, clean them up and store them in the correct field.