Returns the current date and time.
Source position: datih.inc line 136
function Now: TDateTime; |
Now returns the current date and time. It is equivalent to Date+Time.
None.
|
Return the current date. |
|
|
Returns the current time. |
Program Example18; { This program demonstrates the Now function } Uses sysutils; Begin Writeln ('Now : ',DateTimeToStr(Now)); End.