[Overview][Constants][Procedures and functions][Index] Reference for unit 'DateUtils' (#rtl)

Tomorrow

Return the next day

Declaration

Source position: dateutil.inc line 124

function Tomorrow: TDateTime;

Function result

Next day as TDateTime.

Description

Tomorrow returns tomorrow's date. Tomorrow is determined from the system clock, i.e. it is Today +1.

See also

Today

  

Return the current date

Yesterday

  

Return the previous day.

Example

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.

Documentation generated on: May 14 2021