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



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

Now

Returns the current date and time.

Declaration

Source position: datih.inc line 114

function Now: TDateTime;

Description

Now returns the current date and time. It is equivalent to Date+Time.

Errors

None.

See also

Date

  

Return the current date.

Time

  

Returns the current time.

Example

Program Example18;

{ This program demonstrates the Now function }

Uses sysutils;

Begin
  Writeln ('Now : ',DateTimeToStr(Now));
End.

Notes

 No notes exist for this page yet. 





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