Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instead of using the server date, use future date.
Message
From
02/11/2009 18:49:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/11/2009 18:14:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01432808
Message ID:
01432820
Views:
50
>Hey Sylvain,
>
>Yep, ldFuture = {^2012/01/01} would work if all date references were to ldFuture. Generally in the code, there will be a ldSomedate = date() then everything is calculated against the ldSomedate. We can't change the time on the server because other processes are running for testing, I was just wondering if you could change every reference to the Date() function to return a specific date, or something crazy like that. I don't think we could do that..
>
>Thanks!

I think you should use code references to search for every place where there is a reference to date(), then see where it would be appropriate to use a UDF instead.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform