TIMESTAMP(expr) returns the date or datetime expression expr as a datetime value : TIMESTAMP « Date Time Functions « MySQL Tutorial






mysql>
mysql> SELECT TIMESTAMP('2003-12-31');
+-------------------------+
| TIMESTAMP('2003-12-31') |
+-------------------------+
| 2003-12-31 00:00:00     |
+-------------------------+
1 row in set (0.00 sec)

mysql>








14.45.TIMESTAMP
14.45.1.TIMESTAMP(expr) returns the date or datetime expression expr as a datetime value
14.45.2.TIMESTAMP(expr1,expr2) adds the time expression expr2 to the date or datetime expression expr1 and returns the result as a datetime value.