Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many weeks in a month
Message
From
06/11/2007 09:14:58
 
 
To
06/11/2007 09:12:03
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:
01266941
Views:
11
>Sorry, October 2007 has no 5 weeks (my mistake).
>But, ir order to know what are the months in a year that have 5 weeks (a simply way to know, I have noticed), just see months that have 5 sundays. Example: in 2007 the months that have 5 weeks are:
>Abril, July, September, December.
>
>
>the other ones, bring 4 weeks.
>
>There is a courious thing: in 2004 February had 5 weeks, even being a "short" month.....
>
>So, as I said before I need to apply a function for determine what are those months.
>
>Thanks
>Carlos Burgos

OK, so your definition of a week is that it includes a Sunday, right?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform