>Hi all,
>
>I have a date.
>I want to know the first day of the week.
>
>Example : 02/09/2004 => Monday 30/08/2004
>
> 01/08/2004 => Monday 26/07/2004
>
>Thank in advance
>
>bernhart
? GetMonday({^2004/9/2})
? GetMonday({^2004/8/1})
Function GetMonday(tdDate)
return m.tdDate - Dow(m.tdDate,2) + 1
Cetin