[Overview][Constants][Procedures and functions][Index] |
Return the next day
Source position: dateutil.inc line 124
function Tomorrow: TDateTime; |
Next day as TDateTime.
Tomorrow returns tomorrow's date. Tomorrow is determined from the system clock, i.e. it is Today +1.
|
Return the current date |
|
|
Return the previous day. |
Program Example19; { This program demonstrates the Tomorrow function } Uses SysUtils,DateUtils; Begin Writeln(FormatDateTime('"Today is" dd mmmm yyyy',Today)); Writeln(FormatDateTime('"Tomorrow will be" dd mmmm yyyy',Tomorrow)); End.