UNIX_TIMESTAMP(date) returns the value of the argument as seconds since '1970-01-01 00 : UNIX_TIMESTAMP : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » UNIX_TIMESTAMP »

 

UNIX_TIMESTAMP(date) returns the value of the argument as seconds since '1970-01-01 00


mysql>
mysql> SELECT UNIX_TIMESTAMP('1997-10-04 22:23:00');
+---------------------------------------+
| UNIX_TIMESTAMP('1997-10-04 22:23:00') |
+---------------------------------------+
|                             876028980 |
+---------------------------------------+
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
» UNIX_TIMESTAMP