Question
Asked By – linkmaster03
What is the cleanest and most Pythonic way to get tomorrow’s date? There must be a better way than to add one to the day, handle days at the end of the month, etc.
Now we will see solution for issue: Cleanest and most Pythonic way to get tomorrow’s date?
Answer
datetime.date.today() + datetime.timedelta(days=1)
should do the trick
This question is answered By – Kamil Szot
This answer is collected from stackoverflow and reviewed by FixPython community admins, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0