[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'sysutils' (#rtl) |
Return the current date.
Source position: datih.inc line 112
function Date: TDateTime; |
Date returns the current date in TDateTime format.
None.
|
Returns the current time. |
|
|
Returns the current date and time. |
Program Example1; { This program demonstrates the Date function } uses sysutils; Var YY,MM,DD : Word; Begin Writeln ('Date : ',Date); DeCodeDate (Date,YY,MM,DD); Writeln (format ('Date is (DD/MM/YY): %d/%d/%d ',[dd,mm,yy])); End.
No notes exist for this page yet.