mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 17:26:35 +02:00
parent
52af9a2c89
commit
c184669206
@ -736,10 +736,9 @@ begin
|
|||||||
Result:=(PX_get_data_double(FDoc,pansichar(buf),flen,@R)>0);
|
Result:=(PX_get_data_double(FDoc,pansichar(buf),flen,@R)>0);
|
||||||
if Result then
|
if Result then
|
||||||
begin
|
begin
|
||||||
R:=R/1000.0;
|
longv:=trunc(R /86400000);
|
||||||
longv:=trunc(R /86400);
|
|
||||||
D:=Longv+1721425-2415019;
|
D:=Longv+1721425-2415019;
|
||||||
longv:=(Trunc(r) mod 86400);
|
longv:=(Trunc(r) mod 86400000);
|
||||||
PDateTime(Buffer)^:=D+(Longv/MSecsPerday);
|
PDateTime(Buffer)^:=D+(Longv/MSecsPerday);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user