SQL
MySQL DAYNAME() Function
Return the weekday name for a date: