Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change time in Foxpro-session
Message
 
To
23/08/2010 08:29:56
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:
01479981
Views:
36
>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...


Guilluame,

The VFP2C32 Library has a SetSystemTime() function that will allow VFP to change the PC's time. I don't know if that will be useful to you but if you want to check it out, it's at http://vfp2c.dyndns.org/.

Eric
Previous
Reply
Map
View

Click here to load this message in the networking platform