Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many Sundays in a month?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00487391
Message ID:
00487430
Views:
13
nSundays = int(((gomo(mydate-day(mydate)+1,1)-1) ;      && last of month
              - (mydate-day(mydate)+1) ;                && first of month
              + dow(mydate-day(mydate)+1))/7)           && first day of week + 1
I guess this will also depend on the SET FDOW setting.
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform