DATE_SUB(curdate(), INTERVAL 1 MONTH); : DATE_SUB : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » DATE_SUB »

 

DATE_SUB(curdate(), INTERVAL 1 MONTH);


mysql>
mysql> select DATE_SUB(curdate(), INTERVAL MONTH);
+---------------------------------------+
| DATE_SUB(curdate(), INTERVAL MONTH|
+---------------------------------------+
2007-06-22                            |
+---------------------------------------+
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
» DATE_SUB