Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First day of the week
Message
From
13/09/2004 06:33:45
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00941538
Message ID:
00941550
Views:
7
the DOW function can take a second parameter Start of Week.

So

Function GetStartOfWeek
lPara ldDate
return (ldDate - dow(ldDate, 2) + 1)
endFunc

Is simpler.

Andrew R.
Previous
Reply
Map
View

Click here to load this message in the networking platform