| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Peter Brawley | Date: | January 8 2012 8:35pm |
| Subject: | Re: Date and Time | ||
| View as plain text | |||
On 1/8/2012 2:21 PM, Donovan Brooke wrote: > Hello, I'm doing an insert into with date and time type fields. > > I was reading: > http://dev.mysql.com/doc/refman/5.1/en/date-and-time-literals.html > > My question is: is the format always 'year month day'?.. or can we > save dates in 'month day year' as well? As the manual says, MySQL wants yyyy-mm-dd. Use Str_To_Date() to format date strings to the format MySQL uses. PB ----- > > Thanks, > Donovan > >
| Thread | ||
|---|---|---|
| • Date and Time | Donovan Brooke | 8 Jan |
| • Re: Date and Time | Andrew Moore | 8 Jan |
| • Re: Date and Time | Govinda | 8 Jan |
| • Re: Date and Time | Peter Brawley | 8 Jan |
| • Re: Date and Time | Donovan Brooke | 8 Jan |
| • Re: Date and Time | Paul DuBois | 9 Jan |
| • Re: Date and Time | Govinda | 9 Jan |
