mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-02 15:55:23 +02:00
12 lines
225 B
ObjectPascal
12 lines
225 B
ObjectPascal
uses doscalls, clkdll;
|
|
|
|
Var
|
|
ID: Array[0..255] of Char;
|
|
NextDate: TDateTime;
|
|
begin
|
|
WriteLn('RC=',ClkQuerySTData(@ID, NextDate));
|
|
WriteLn(PChar(@ID));
|
|
With NextDate do
|
|
WriteLn(Hours,':',Minutes,':',Seconds);
|
|
end.
|