Format date as day of week
I have a table which has amongst others a date column servdate. I use the following query to get me all jobs from within the past week ( a week starts from monday): SELECT * FROM tb1 WHERE servdate BETWEEN date('now', 'Weekday 1', '-21 days') AND date('now') I want the query to work exactly the same but instead to return the servdate fields as their corresponding day of the week. For example, "monday", instead of "2010-11-28". Is this possible?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.