DAYOFMONTH(date) returns the day of the month for date, in the range 0 to 31. : DAYOFMONTH : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » DAYOFMONTH »

 

DAYOFMONTH(date) returns the day of the month for date, in the range 0 to 31.


DAY() is a synonym for DAYOFMONTH().

mysql>
mysql> SELECT DAYOFMONTH('1998-02-03');
+--------------------------+
| DAYOFMONTH('1998-02-03') |
+--------------------------+
|                        |
+--------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


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

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Date Time Functions
» DAYOFMONTH