manipulating dates for insertion in MySQL

  • Thread starter Thread starter Anonymous
  • Start date Start date
A

Anonymous

Guest
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.

Greetz Daan
 
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!
 
Back
Top