SELECT SUBDATE('1998-01-02', INTERVAL 31 DAY); : SUBDATE : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » SUBDATE »

 

SELECT SUBDATE('1998-01-02', INTERVAL 31 DAY);


mysql>
mysql> SELECT SUBDATE('1998-01-02', INTERVAL 31 DAY);
+----------------------------------------+
| SUBDATE('1998-01-02', INTERVAL 31 DAY|
+----------------------------------------+
1997-12-02                             |
+----------------------------------------+
row in set (0.00 sec)

mysql>
mysql>



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» SUBDATE