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



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

GetDate

Return the system date

Declaration

Source position: oldlinux.pp line 1323

procedure GetDate(

  var Year: Word;

  var Month: Word;

  var Day: Word

);

Description

Returns the current date.

Errors

None

See also

GetEpochTime

  

Return the current unix time

GetTime

  

Return current system time

GetDateTime

  

Return system date and time

EpochToLocal

  

Convert epoch time to local time

Example

Program Example6;

{ Program to demonstrate the GetDate function. }

Uses oldlinux;

Var Year, Month, Day : Word;

begin
 GetDate (Year, Month, Day);
 Writeln ('Date : ',Day:2,'/',Month:2,'/',Year:4);
end.

Notes

 No notes exist for this page yet. 





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