|
Posted by Tim Streater on August 18, 2008, 5:52 pm
Please log in for more thread options
> I am looking at moving some old database systems to MySQL and I am
> currently working on data loading using mysqlinport.
>
> I have an issue with dates as all the data that is coming my way has
> dates in DD/MM/YYYY. the load routines look to only accept it in
> YYYY/MM/DD.
>
> Is there anyway of telling the routines to use the European date format?
>
> Would be nice if it could display dates in the format as well.
No, you have to write some PHP or JavaScript (or both, as I did) to
reformat it to/from internal format from/to human format. While you're
at it make it flexible, so it allows any delimiter rather than just the
slash, allows month names as well as month numbers, and makes some sort
of guess about what 2-digit years mean.
|