|
@@ -2149,7 +2149,7 @@ end;
|
|
|
|
|
|
Function DateTimeToUnix(const AValue: TDateTime): Int64;
|
|
Function DateTimeToUnix(const AValue: TDateTime): Int64;
|
|
begin
|
|
begin
|
|
- Result:=Round(DateTimeDiff(AValue,UnixEpoch)*SecsPerDay);
|
|
|
|
|
|
+ Result:=Trunc(DateTimeDiff(AValue,UnixEpoch)*SecsPerDay);
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|