* 1.9.x updates

This commit is contained in:
marco 2004-07-17 22:03:43 +00:00
parent 5fac440240
commit 72fa25740f
5 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@ Program Example1;
{ Program to demonstrate the GetEpochTime function. }
Uses linux;
Uses Unix;
begin
Write ('Secs past the start of the Epoch (00:00 1/1/1980) : ');

View File

@ -2,16 +2,16 @@ Program Example2;
{ Program to demonstrate the GetTimeOfDay function. }
Uses linux;
Uses BaseUnix,Unix;
Var TV : TimeVal;
TZ : TimeZone;
begin
GetTimeOfDay (TV);
Writeln ('Seconds : ',tv.sec);
Writeln ('Milliseconds : ',tv.usec);
fpGetTimeOfDay (@TV,@tz);
Writeln ('Seconds : ',tv.tv_sec);
Writeln ('Milliseconds : ',tv.tv_usec);
Writeln ('Minutes west of GMT : ',tz.minuteswest);
Writeln ('Daylight Saving Time : ',tz.dsttime);
Writeln ('Seconds in 1 call : ',GetTimeOfDay);
Writeln ('Seconds in 1 call : ',fpGetTimeOfDay(nil,nil));
end.

View File

@ -2,7 +2,7 @@ Program Example3;
{ Program to demonstrate the EpochToLocal function. }
Uses linux;
Uses Unix,UnixUtil;
Var Year,month,day,hour,minute,seconds : Word;

View File

@ -2,7 +2,7 @@ Program Example4;
{ Program to demonstrate the LocalToEpoch function. }
Uses linux;
Uses UnixUtil;
Var year,month,day,hour,minute,second : Word;

View File

@ -2,7 +2,7 @@ Program Example5;
{ Program to demonstrate the GetTime function. }
Uses linux;
Uses Unix;
Var Hour, Minute, Second : Word;