View Single Post
Old 01-11-2011, 03:13 AM  
StariaDaniel
Confirmed User
 
Join Date: Oct 2007
Location: Netherlands
Posts: 415
You can do it in mysql directly btw using STR_TO_DATE()

Code:
INSERT INTO ... ( ... ) VALUES ( ... , STR_TO_DATE('1/12/2011', '%e/%m/%Y') , ... )
http://dev.mysql.com/doc/refman/5.5/...on_str-to-date
StariaDaniel is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote