how to print out current day of the week in sql code example Example: extract weekday from date in sql SELECT WEEKDAY(date);