Sign in Join
FPDoc Onlineexperiment

Tomorrow function

In unit DateUtils

Return the next day after today.

Declaration

pascal
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

Example: ex19

pascal
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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.