Logo

Programming-Idioms

History of Idiom 184 > diff from v9 to v10

Edit summary for version 10 by citizenkong:
New Python implementation by user [citizenkong]

Version 9

2019-09-26, 13:48:01

Version 10

2019-09-26, 13:50:47

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Imports
from datetime import date, timedelta
Code
date.today() + timedelta(days=1)
Doc URL
https://docs.python.org/3/library/datetime.html