Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change time in Foxpro-session
Message
From
24/08/2010 03:25:18
 
 
To
23/08/2010 09:48:31
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:
01478084
Views:
66
>>>>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...
>>>
>>>"without changing the Windows datetime"...
>>>
>>>Add a year to the date returned?
>>
>>Ok, that's what a colleague suggested, BUT this means changing the 'Date()'-function by a 'MyAppDate()'-function everywhere.
>>Our application-code is so huge that changing all of this, means a few days work :-(
>
>
>On that sort of challenge I make a good backup and risk a global change using GoFish.
>
>Good luck.
>
>dg

Keep in mind that we work with MS SourceSafe... so we must check out everything first before we perform a global replace
Previous
Reply
Map
View

Click here to load this message in the networking platform