I use timestamp on MySQL 5.x (with PHP) to remember event times. During development I had to update the table with a query that changes something in all columns. The timesta
Here's all you need to know. In short, though, I think this should do it:
ALTER TABLE `mytable` CHANGE `mydatefield` `mydatefield` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP