Answers for "how to get list of dayname in python based on current date"

3

python get day name

import datetime
now = datetime.datetime.now()
print(now.strftime("%A"))
Posted by: Guest on June-07-2020

Code answers related to "how to get list of dayname in python based on current date"

Python Answers by Framework

Browse Popular Code Answers by Language