It depends on what you need. If you are after the next 7 days, then:
select * from my_table where date_col between :my_date and :my_date + 7
If you want to say Monday through Sunday, use the next_day function:
select * from my_table where date_col between next_day(:my_date, 'Monday') - 7 and next_day(:my_date, 'Monday')
Both where :my_date is the date of your transfer.
If you do not pass a date, but a string, then the first one will be used with the to_date function:
select * from my_table where date_col between to_date(:my_date,'dd/mm/yyy') + 7 and to_date(:my_date,'dd/mm/yyy')
and you can do something similar for the second. If you need to use to_date , then date_col must have a functional index on to_date(date_col,'dd/mm/yyyy') or if you are going to convert it differently then.
source share