Answers for "how to find todays day in python as monday"

4

python today - 1 day

from datetime import datetime, timedelta

yesterday = datetime.today() - timedelta(days = 1 )
Posted by: Guest on April-15-2020
0

python datetime get date one week from today

>>> import datetime
>>> datetime.datetime.now() + datetime.timedelta(days=7)
Posted by: Guest on July-16-2020

Code answers related to "how to find todays day in python as monday"

Python Answers by Framework

Browse Popular Code Answers by Language