Putting Date Range into an Array

Have two global fields, startDate and endDate. I want to put every date starting with the start date and ending with the day before the end date into an array so that I can search and find all matching records.

var searcharray = ?

Any help gratefuly received.

Not sure what you want with the array, check out this [u]link[/u] for an example with date range searching in JavaScript