If you format the date as a normal date, mysql will accept that and place the correct date in the database.
For a desciption on what formats are supported, see the manual at mysql.org.
MySQL has got features that will handle you adding dates to them, you need to read chapter 6 (6.4 I think) on data types, and in the date & time section it'll list all the types and how to set them!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.