How about:
? date(lnYear,1,1) + (lnWeekNo - 1)*7 + (1-dow(date(lnYear,1,1)))
Convoluted enough? <g>
Cheers,
Andrew
>We have a week() function which returns week number from a date variable.
>
>How can one arrive at a date from a week number ? Say - The starting date of week 23 of year 2000.
If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?
From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."
All my FoxTalk and other articles are available on my
web site.
Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.