Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many weeks in a month
Message
 
 
To
06/11/2007 14:12:22
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:
01267076
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>Sorry, I was no especific. I meant the current week of the month, not of the year.
ldDate = DATE()
ldFirstOfMonth = ldDate-DAY(ldDate)+1
? WEEK(ldDate,1,2) - WEEK(ldFirstOfMonth,1,2) + 1
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform