Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Week() first parameter
Message
De
25/08/2017 15:22:38
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
25/08/2017 15:09:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01653752
Message ID:
01653754
Vues:
42
>Hi,
>
>Please help me to make sure that I understand the first parameter of the function Week()
>I usually use 3 as the second parameter - First week has seven days. And in my app the first day of the week is Monday.
>
>So my use is
>
>nWeek = week( dSomeDate, 3, 2 )
>
>
>Do I understand the if I take the date of the 1st of 2016 (ctod('01/01/2016')), even though it is in the 1st calendar week of the year, it is NOT week not week 1 because the Monday falls on the previous week? Therefore week 1 is the week of the 1st Monday. Correct?

It's the 52nd week of 2015, under the rules set by the parameters.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform