Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instead of using the server date, use future date.
Message
De
02/11/2009 18:49:08
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
02/11/2009 18:14:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01432808
Message ID:
01432820
Vues:
51
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform