Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Understanding week()
Message
 
 
À
17/11/2019 18:00:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01671911
Message ID:
01671913
Vues:
65
>>Never mind
>
>It may have been, but is less so now ;)

Honestly, I kind of understand the week() function now. But still it is confusing. Here is what I was trying to achieve.
I want the week to be defined by the Monday. For example, this year the 1st week is the week of 01/07/2019.
That is, the date of the January 7,8,9,10,11,12,13 would be week 1.

And any day during the week of the December 31, 2018 (December 31, 2018, January 1,2,3,4,5 of 2019) would fall on week 53 of 2018.

But I can't seem to figure how to use the week() function to get what I want.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform