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