Menu

#527 Incorrect system date and time after midnight

0.74
open
nobody
datetime (1)
1
2020-04-17
2020-04-17
No

In multiple occasions I have gotten incorrect dates and times from programs when the same dosbox instance is started in a day, and continues to be used in the following day. For instance, I open dosbox at 23:55 on a Thursday and I get the correct time, but then ten minutes later I get that the current time is 24:05 and the day is still Thursday! If I keep waiting the current hour keeps increasing so the current time can easily become 25, 26, 27 and so on.

I have tested this myself by writing a Turbo Pascal program that prints the current date and time. I'm attaching it to this report so you can test it yourself.

I have even tested it by writing my own assembly program and verified that this is not an issue of the GetTime and GetDate functions from Turbo Pascal.

1 Attachments

Discussion

  • Leandro Tami

    Leandro Tami - 2020-04-17

    I am attaching a screenshot of the output

     
  • ripsaw8080

    ripsaw8080 - 2020-04-17

    This is fixed in SVN.

     
    🎉
    1

Log in to post a comment.