WEEKDAY(date) returns the weekday index for date (0 = Monday, 1 = Tuesday, ... 6 = Sunday). : WEEKDAY : Date Time Functions MySQL TUTORIALS


MySQL TUTORIALS » Date Time Functions » WEEKDAY »

 

WEEKDAY(date) returns the weekday index for date (0 = Monday, 1 = Tuesday, ... 6 = Sunday).


mysql>
mysql> SELECT WEEKDAY('1998-02-03 22:23:00');
+--------------------------------+
| WEEKDAY('1998-02-03 22:23:00') |
+--------------------------------+
|                              |
+--------------------------------+
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
» WEEKDAY