convert datetimes to UTC before trying to store them in MySQL