Logo

Programming-Idioms

History of Idiom 184 > diff from v8 to v9

Edit summary for version 9 by enkidu:
New PHP implementation by user [enkidu]

Version 8

2019-09-26, 13:40:31

Version 9

2019-09-26, 13:48:01

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 = date('D',strtotime('+1 day'));
Doc URL
https://www.php.net/manual/de/function.date.php