SELECT TIMEDIFF('1997-12-31 23 : TIMEDIFF : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » TIMEDIFF »

 

SELECT TIMEDIFF('1997-12-31 23


mysql>
mysql> SELECT TIMEDIFF('1997-12-31 23:59:59.000001', '1997-12-30 01:01:01.000002');
+----------------------------------------------------------------------+
| TIMEDIFF('1997-12-31 23:59:59.000001', '1997-12-30 01:01:01.000002') |
+----------------------------------------------------------------------+
46:58:57.999999                                                      |
+----------------------------------------------------------------------+
row in set (0.02 sec)

mysql>



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» TIMEDIFF