How about
{1/1/2004}+5-dow({1/1/2004})+(29-1)*7
>If I do:
>
>? WEEK({07/15/2004},1,5)
>
>I get 29. Is there any way to reverse this? If I have "2004" and "29" and know the week starts on day "5", is there any way to return {07/15/2004}?
>
>I looked through the help file, but didn't see anything helpful. :)
>
>This is for VFP 5.
>
>Thanks,
>
>Michelle