>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