mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 23:21:57 +02:00
* fixed TimeStampToMSecs as suggested by Vinzent Hoefler in bug report 3915
git-svn-id: trunk@67 -
This commit is contained in:
parent
d01bde1a83
commit
dfcb5903a9
@ -89,7 +89,7 @@ end ;
|
||||
|
||||
function TimeStampToMSecs(const TimeStamp: TTimeStamp): comp;
|
||||
begin
|
||||
result := TimeStamp.Time + timestamp.date*msecsperday;
|
||||
result := TimeStamp.Time + comp(timestamp.date)*msecsperday;
|
||||
end ;
|
||||
|
||||
Function TryEncodeDate(Year,Month,Day : Word; Var Date : TDateTime) : Boolean;
|
||||
|
Loading…
Reference in New Issue
Block a user