SUBTIME(expr1,expr2) : SUBTIME : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » SUBTIME »

 

SUBTIME(expr1,expr2)


mysql>
mysql> SELECT SUBTIME('1997-12-31 23:59:59.999999','1 1:1:1.000002');
+--------------------------------------------------------+
| SUBTIME('1997-12-31 23:59:59.999999','1 1:1:1.000002') |
+--------------------------------------------------------+
1997-12-30 22:58:58.999997                             |
+--------------------------------------------------------+
row in set (0.00 sec)



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» SUBTIME