Logo

Programming-Idioms

History of Idiom 184 > diff from v3 to v4

Edit summary for version 4 by Bart:
New Pascal implementation by user [Bart]

Version 3

2019-07-21, 11:11:46

Version 4

2019-08-10, 20:41:02

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
SysUtils;
Code
t := DateToStr(Now+1.0);
Comments bubble
Dates are internally stored as floating points.
DateToStr formats the date according to your current locale settings.