WAMP INT(10), :
UPDATE `test` SET `dateandtime` = DATE_FORMAT( NOW(), '%y%m%d%H%i' ) WHERE `id` =1234;
2013-11-22 12:45:09 , 1322111245. , "", . , , .
This is clearly not recommended if you expect to run any other date functions, but for me I usually want to find out the latest record update and sort the result by date.
source
share