next up previous contents index
Next: GetDomainName Up: Functions and procedures Previous: Fork

GetDate

   

Declaration:

Procedure GetDate (Var Year, Month, Day : Word) ;

Description:

Returns the current day.

Errors:

None

See also:

GetEpochTime, GetTime, EpochToLocal

Example
Program Example6;

{ Program to demonstrate the GetDate function. }

Uses linux;

Var Year, Month, Day : Word;

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



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998