MySQL Forums
Forum List  »  InnoDB

Re: Problem With Datetime Fields when Inserting Record
Posted by: Bob Field
Date: October 16, 2006 10:54AM

MySQL dates have to appear in the form YYYY-MM-DD. You can use the str_to_date function, for example:
str_to_date('16/10/2006', '%d/%m/%Y')

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Problem With Datetime Fields when Inserting Record
1274
October 16, 2006 10:54AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.