Showing posts with label dayname() function in mysql. Show all posts
Showing posts with label dayname() function in mysql. Show all posts

Tuesday, 17 July 2012

Mysql DAYNAME() function

DAYNAME(date)
Above function returns name of the weekday for date.
SELECT DAYNAME('2007-02-03'); o/p: 'Saturday'