dbTalk Databases Forums  

Date format

mailing.database.mysql mailing.database.mysql


Discuss Date format in the mailing.database.mysql forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Tim Streater
 
Posts: n/a

Default Re: Date format - 08-18-2008 , 04:52 PM






In article <SI$AnlAoddqIFAJo (AT) suedonltd (DOT) demon.co.uk>,
Donald Campbell <suedon (AT) suedon (DOT) co.uk> wrote:

Quote:
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.


Reply With Quote
  #12  
Old   
Tim Streater
 
Posts: n/a

Default Re: Date format - 08-18-2008 , 04:52 PM






In article <SI$AnlAoddqIFAJo (AT) suedonltd (DOT) demon.co.uk>,
Donald Campbell <suedon (AT) suedon (DOT) co.uk> wrote:

Quote:
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.


Reply With Quote
  #13  
Old   
Tim Streater
 
Posts: n/a

Default Re: Date format - 08-18-2008 , 04:52 PM



In article <SI$AnlAoddqIFAJo (AT) suedonltd (DOT) demon.co.uk>,
Donald Campbell <suedon (AT) suedon (DOT) co.uk> wrote:

Quote:
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.


Reply With Quote
  #14  
Old   
Tim Streater
 
Posts: n/a

Default Re: Date format - 08-18-2008 , 04:52 PM



In article <SI$AnlAoddqIFAJo (AT) suedonltd (DOT) demon.co.uk>,
Donald Campbell <suedon (AT) suedon (DOT) co.uk> wrote:

Quote:
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.


Reply With Quote
  #15  
Old   
Tim Streater
 
Posts: n/a

Default Re: Date format - 08-18-2008 , 04:52 PM



In article <SI$AnlAoddqIFAJo (AT) suedonltd (DOT) demon.co.uk>,
Donald Campbell <suedon (AT) suedon (DOT) co.uk> wrote:

Quote:
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.


Reply With Quote
  #16  
Old   
Tim Streater
 
Posts: n/a

Default Re: Date format - 08-18-2008 , 04:52 PM



In article <SI$AnlAoddqIFAJo (AT) suedonltd (DOT) demon.co.uk>,
Donald Campbell <suedon (AT) suedon (DOT) co.uk> wrote:

Quote:
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.


Reply With Quote
  #17  
Old   
Tim Streater
 
Posts: n/a

Default Re: Date format - 08-18-2008 , 04:52 PM



In article <SI$AnlAoddqIFAJo (AT) suedonltd (DOT) demon.co.uk>,
Donald Campbell <suedon (AT) suedon (DOT) co.uk> wrote:

Quote:
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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.