import datetime
now = datetime.datetime.now()
print(now.strftime("%A"))
# Example of a datetime variable
mondayVariable = dt.datetime(2022,2,28)
# Extracting the number of the day in the week
# monday corresponding to 0
# tuesday -> 1
# sunday -> 6
monday.weekday()
#######
# Or if you want monday as output
monday.strftime('%A')
import datetime
x = datetime.datetime.now()
print(x.strftime("%A"))
#prints the name of today's day