storing dates and datetimes appropriate for mysql import and export