Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Week Function
Message
 
À
15/12/2008 18:38:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01367670
Message ID:
01367711
Vues:
9
>Hi
>
>
>WEEK(DATE(2008,12,29)) returns 1.. Does anyone has dealing with that? How to solve?
>
>TIA

Interesting behavior found when I tried a few things. It seems that SET FWEEK is ignored by the WEEK function but,
?WEEK({^2008/12/29},3) && returns 52

but
SET FWEEK TO 3
?WEEK({^2008/12/29}) && Returns 1
I guess it is best to put the second argument in the WEEK function if you want accuracy.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform