Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many weeks in a month
Message
From
06/11/2007 15:51:13
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
06/11/2007 15:30:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01266837
Message ID:
01267117
Views:
18
>>Not in October/2007...
>>
>>Carlos Burgos
>
>No, because your "week" is not a standard week. Again see my earlier message, where you can modify the code to match your special definition of "week".

Standard week doesn't exist. There's the week-beginning-on-Sunday, then on Monday, then there's a "week in the month" defined as "with at least one day in that month", then "with at least four days in that month"... and I've seen Walmart have its own definition of what's the first week of the year and when does a week count as 53rd week of the year (these two are some time in February, IIRC).

So, week is as we define it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform