Originally posted by Victoria
select to_date('01-JAN-&YYYY') + (&wk -1)*7 + r - 1
from dual , ( select rownum r from tab where rownum < 7 )
where to_char(to_date('01-JAN-&YYYY') +(&wk -1)*7 + r -1 , 'DY') = 'MON'

You might have to change the logic to derive the first day of the first week in the given year and use that instead of '01-JAN-&YYYY'.

This is the closest i could get..
Hai victoria,

Can you explain me this logic please.. why u r using r variable