mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:29:27 +02:00
* Reverted revision 30557
git-svn-id: trunk@30577 -
This commit is contained in:
parent
10633da13b
commit
1e365f341e
@ -61,13 +61,8 @@ begin
|
||||
D:=D-0.5
|
||||
else
|
||||
D:=D+0.5;
|
||||
Result.Time := Abs(Trunc(D)) Mod MSecsPerDay;
|
||||
result.Time := Abs(Trunc(D)) Mod MSecsPerDay;
|
||||
result.Date := DateDelta + Trunc(D) div MSecsPerDay;
|
||||
if D<0 then
|
||||
begin
|
||||
Result.Time:=MSecsPerDay-Result.time;
|
||||
Result.Date:=Result.Date-1;
|
||||
end;
|
||||
end;
|
||||
|
||||
{ TimeStampToDateTime converts TimeStamp to a TDateTime value }
|
||||
|
Loading…
Reference in New Issue
Block a user