Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
First day of the week
Message
De
13/09/2004 12:30:11
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00941538
Message ID:
00941640
Vues:
7
Bernhard,
Look at it this way
the last day of this week= the first day of next week minus one day.
So if you have a function for the FDOW (firstdayofweek)
then

? FDOW(date()) prints the first day of this week
? FDOW(date()) + 7 prints the first day of NEXT week
therefore
? FDOW(date()) + 6 prints the LAST day of this week.

Wouldn't you agree?

Peter
Peter Cortiel
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform