Re: Inserting Dates

2004-01-05 Thread Jochem van Dieten
Ian O'Rourke wrote: I'm very new to MySql and I'm having problems inserting dates into my tables (via the Web using Coldfusion). The user can put the following in the field: 12/09/2003 But the data returned from the database is: 2012-09-20 03:00:00.0 INSERT INTO table (field) VALUES ('2003-12-09')

Re: Inserting Dates

2004-01-05 Thread Ian O'Rourke
Thanks a lot, time to look into my Coldfusion sting functions or Date_Format in MySQL. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: Inserting Dates

2004-01-05 Thread John Jolet
Actually, you can insert the date with hyphens, also..so '2003-09-12' will work. and if you're not going to use the time, don't use a datetime datatype...just use date. On Mon, 2004-01-05 at 14:28, Donald Henson wrote: > On Mon, 2004-01-05 at 12:46, Ian O'Rourke wrote: > > I'm very new to MySql a

Re: Inserting Dates

2004-01-05 Thread Donald Henson
On Mon, 2004-01-05 at 12:46, Ian O'Rourke wrote: > I'm very new to MySql and I'm having problems inserting dates into my tables > (via the Web using Coldfusion). The user can put the following in the field: > > 12/09/2003 > But the data returned from the database is: > > 2012-09-20 03:00:00.0 >

Re: Inserting Dates

2004-01-05 Thread Steve Davies
Hi Ian reverse the order of your date, i.e., 2003/09/12 or use the date format function hth steve Ian O'Rourke wrote: I'm very new to MySql and I'm having problems inserting dates into my tables (via the Web using Coldfusion). The user can put the following in the field: 12/09/2003 But the da