Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Week Function
Message
De
16/12/2008 09:04:28
 
 
À
16/12/2008 03:57:10
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:
01367837
Vues:
11
>>WEEK(DATE(2008,12,29)) returns 1.. Does anyone has dealing with that? How to solve?
>
>What value are you expecting? What's the context of that date value? Calculating the week number is not just a question of the date. There are other conditions to consider as well.
>
>For example, here in Germany (and many other countries in Europe), week #1 would be correct, for this date.

IMO... due to the creation of a year timeline object... Week #53 sound the most logic answer for any western country.. because it isn't the first week of the year, but the last one.. because it starts on the year of 2008
DEC 08  week 49      week 50      week 51      week 52      week 53
[]                       |            |            |            |           []
[]--------------------------------------------------------------------------[]
[]                       |            |            |            |           []
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform