Hey Trash (that feels wrong )
Here's a sample script that shows you how you can run a range of values through a for loop based on dates.
let vStart= num(date#('2011-03-01', 'YYYY-MM-DD'));
let vEnd= num(date#('2011-05-31', 'YYYY-MM-DD'));
for a = $(vStart) to $(vEnd)
$(a) as Value,
Date($(a), 'DDMMYY') as Date