Skip to content

Tomorrow

Return the next day

Declaration

Source position: dateutil.inc line 111

  function Tomorrow : TDateTime;

Description

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

See also

Name Description
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.