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

Tomorrow

Return the next day

Declaration

Source position: dateutil.inc line 111

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: Sep 28 2017