human
how to get day name in datetime in python
assistant
Here is some code to get day name from a datetime object

date.today().strftime('%A')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.