Hi,
Very silly and easy task,Can some one help to find out immediate sunday if I pass some date for example
We have below week
28-APR-2014 -- 4 -MAY-2014
if I pass 29-APR-2014 it should give me sunday date i.e 4 -may -2014
Try ::I was trying to achieve this by below method
I pass some date and find out adjacent Monday like that
select trunc(sysdate,'iw') from dual;
and try to add 6 days but not to add
Regards,
rahul