10.01.2016, 23:47
No. Change the date column to an varchar and just use
Depends on how you want to use the date, but that's how I insert the dates on my ban queries, and reports.
PHP код:
new d, m, y;
getdate(y, m, d);
mysql_format(mysql, query, sizeof(query),"INSERT INTO `table` (`Date`) VALUES ('%i/%i/%i')", d, m, y,);