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


MySQL TUTORIALS » Date Time Functions » TIMESTAMP »

 

TIMESTAMP(expr) returns the date or datetime expression expr as a datetime value


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

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» TIMESTAMP