General information
Category:
Coding, syntax & commands
Cetin,
>Once VFP launched any changes in time are not reflected in seconds(). sys(2) reflects them. So comparing the 2 you could say that time was set back (or forth) and act accordingly. You could silently set the system time with winAPI.
You are right about SECONDS() not changing when system time is changed. However, if the app is closed and run again, SECONDS() then follows the system time at the instance.
>However if time was gotten back before VFP's launch there is nothing you can do about it. On a standalone PC (really standalone) with an OS like win9x there is no bulletproof prevention of playing with the clock. You might enforce the policies but a clever user knows he doesn't need the windows to change the time (actually in NT,XP too it's easy to change the time no matter how much strict policies exist).
Am very curious on what you said about being easy to change system time even under XP/NT, if I restrict Change System Time policy and put a password on the CMOS bootup, how else can one change time?
Thanks
Dennis
Previous
Next
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