I get strange error in function MSecsToTimestamp() from SysUtils:

I get strange error in function MSecsToTimestamp() from SysUtils:

https://snap.ashampoo.com/uploads/2017-01-27/qn0NYOPp.png

and exception after F8:

https://snap.ashampoo.com/uploads/2017-01-27/YP4kwXXV.png

What is cause?

Comments

  1. Input is bad, but in accepted range (int64), IMSecsPerDay is not zero, why is division by zero?

    ReplyDelete
  2. For me I got integer overflow, but I didn't type your number in exactly. Bottom line, your data is duff, and once you fix it all will be well.

    ReplyDelete

Post a Comment