Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change time in Foxpro-session
Message
From
24/08/2010 00:16:09
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01477896
Message ID:
01478075
Views:
49
>>Does anyone know if/how I can change the datetime in my Visual Foxpro-application ?
>>
>>After starting our application, in some occasions, i must be able to set the date a year ahead without changing the Windows datetime.
>>So when i call the Date(), Time() or DateTime()-function I must get a later date returned...
>
>
>You can run your application under VM and change whatever you want w/o affecting other applications or Windows itself..

Modern Windows OSs will, by default, periodically attempt to synchronize their time to time.windows.com. VMs are no different. To maintain a datetime a year ahead would mean disabling synchronization, or disconnecting the computer from the public Internet so synchronization attempts fail.

Lack of accurate/synchronized time can make some Windows services fail e.g. Kerberos.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform