An additional method, this time on the SQL side, is to use the conversion method in your sql query:
CONVERT(VARCHAR(11),$user_date,111) //eg SELECT CONVERT(VARCHAR(11),DATEFIELD,111) AS DATE //or SET DATEFIELD = CONVERT(VARCHAR(11),'".$user_date."',111)
See: http://www.w3schools.com/sql/func_convert.asp - the number at the end changes the type of the date format, with a return of 111: 2006/12/30.
source share