Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calendar Week No.
Message
From
30/10/1996 13:17:36
 
 
To
28/10/1996 00:29:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00011016
Message ID:
00011146
Views:
33
>Hi All,
>
>I need a function or pseudocode or formula to get the inclusive dates given a calendar week no. For example:
>
>1. Program asks for the week number.
>2. User enters a no.
>3. Program returns the inclusive dates for that week no.
>
>If ever vfp has a command/function doing this please pardon my ignorance and point it out to me.
>
>Thank you very much in advance,
>Dante Sandigan

I couldn't find any function to do this, but I don't think it's to hard.

1. Every week has 7 days right?
2. You can determine today's week number, right?
3. So, (week(this_week_start_day) - user_week) * 7, will get you how many days have elapsed from this_week_start_day. Got it?

HTH
Alexandre Nobre
Alpha Bytes Computer Corp.

Did you know that there are innocent people dying in East Timor?
It helps if you do...

I suppose you don't need glasses if you're able to read this line

Previous
Reply
Map
View

Click here to load this message in the networking platform