manipulating dates for insertion in MySQL

Codes here !

Moderators: egami, macek, gesf

Post Reply

Tue Oct 15, 2002 12:26 pm

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

Greetz Daan


Tue Oct 15, 2002 1:30 pm

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!

Post Reply