Answers for "python current date + 1 day"

4

python today - 1 day

from datetime import datetime, timedelta

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

Code answers related to "python current date + 1 day"

Python Answers by Framework

Browse Popular Code Answers by Language