help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

Tomorrow

Return the next day

Declaration

Source position: dateutil.inc line 110

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.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505