Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First day of the week
Message
From
13/09/2004 12:30:11
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00941538
Message ID:
00941640
Views:
8
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
Previous
Reply
Map
View

Click here to load this message in the networking platform