Run a script on a date range

Run a script on a date range

Greetings all....

I need to write a script that runs on a range of dates.  I understand how to use the for each record and for each list value but I can't figure out how to iterate a script based on a date range.  For example:

The user enters a start date and end date...

The script runs a series of actions (if then statements) based upon each date in the date range.

Thanks in advance for any help you can offer.

Joel