0

I want to make a program for finding the day on any particular date.can anyone help me?

19th Apr 2019, 6:57 AM
Kamal Pal
Kamal Pal - avatar
2 odpowiedzi
+ 2
You can use the datetime Module. https://docs.python.org/3/library/datetime.html Just look for the method isweekday().
19th Apr 2019, 7:03 AM
Bela Brockmann
Bela Brockmann - avatar
0
import datetime #if you want to Today print(datetime.date.today()) #or you want to get any day print(datetime.date(2017, 11, 12))
19th Apr 2019, 11:33 AM
Michita Sato
Michita Sato - avatar