SUBDATE(expr,days) : SUBDATE : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » SUBDATE »

 

SUBDATE(expr,days)


mysql>
mysql> SELECT SUBDATE('1998-01-02 12:00:00', 31);
+------------------------------------+
| SUBDATE('1998-01-02 12:00:00', 31|
+------------------------------------+
1997-12-02 12:00:00                |
+------------------------------------+
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