LAST_DAY(date) returns the corresponding value for the last day of the month. : LAST_DAY : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » LAST_DAY »

 

LAST_DAY(date) returns the corresponding value for the last day of the month.


Returns NULL if the argument is invalid.

mysql>
mysql> SELECT LAST_DAY('2003-02-05');
+------------------------+
| LAST_DAY('2003-02-05') |
+------------------------+
2003-02-28             |
+------------------------+
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
» LAST_DAY