Answers for "get day of week from date"

SQL
1

datepart day of week

SELECT DATENAME(DW,'2007-10-30');
Posted by: Guest on July-20-2020
0

How do I get the day of week given a date?

>>> import datetime
>>> datetime.datetime.today()
datetime.datetime(2012, 3, 23, 23, 24, 55, 173504)
>>> datetime.datetime.today().weekday()
4
Posted by: Guest on July-21-2021

Code answers related to "get day of week from date"

Code answers related to "SQL"

Browse Popular Code Answers by Language