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.
I am attaching a screenshot of the output
This is fixed in SVN.