Pacman69 wrote at 2012-12-17 02:55:48
Thanks for this post. I am going to use this becaues i am having to port pascal code to run on a faster 486 because the computer broke down.
I can see one small issue. If the delay routine was called just before midnight, then when it gets the current time, it will actually decrease, not increase, as the hours starts again from zero.
A possible solution, would be also to get the Day, Month and Year and add this, but maybe I am over-complicating things.