MySQL Forums
Forum List  »  Newbie

How do I set a default date value
Posted by: Bob Moyers
Date: May 03, 2005 12:07PM

I have tried putting in now() via phpmyadmin as the default value and my new record entries return a value of '0000-00-00'. My purpose is to have a default created_date of the time mySql writes each new row.

Options: ReplyQuote


Subject
Written By
Posted
How do I set a default date value
May 03, 2005 12:07PM


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.