Logo

Programming-Idioms

History of Idiom 184 > diff from v12 to v13

Edit summary for version 13 by nek:
New PHP implementation by user [nek]

Version 12

2019-09-26, 13:52:01

Version 13

2019-09-26, 13:56:35

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.

Code
$t = new \DateTime('tomorrow');