Logo

Programming-Idioms

History of Idiom 184 > diff from v21 to v22

Edit summary for version 22 by silver-dragon:
[VB] date object not date time object

Version 21

2019-09-30, 20:00:08

Version 22

2019-09-30, 20:01:04

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
Dim t As Date = DateTime.Today.AddDays(1)
Code
Dim t As Date = Date.Today.AddDays(1)