Sql day from datetime

This article is tagged with: Sql day from datetime and mysql

sql: extract day text from datetime value

SELECT DATENAME(dw,'09/23/2013') as theDayName

sql day from datetime

SET @@lc_time_names = 'fr_FR';
SELECT DAYNAME('2000-01-01') dayname;
+---------+
| dayname |
+---------+
| samedi |
+---------+

This article is tagged with: Sql day from datetime and mysql