Sergey, that is neat but it has a small flaw (and I don't mean the constant *g*). The code can lose or gain a whole day in certain rare circumstances. Can you spot it?
Hint: think back to the DOS days, how date/time was retrieved from the system back then. DOS too had separate functions for date and time of day.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only