VFP makes note of the latest timestamp generated and if systemtime conversion results in the same or a lower value than that, increments its max memorized value instead.
I think that's much simpler, (besides lower systemtimes should only happen if someone or something sets system time back, eg time server syncing). This way also "autosyncs" with the simple time conversion after a short while of not using the function, when the value computed from system time simply got bigger than what was last returned.
All this doesn't prevent double generated values from different systems, which is the risc of it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.