What is the best way to limit a date range in a CakePHP view?

I have a date field which the users of the system can edit, but there are limitations on what they may be able to select. Right now it is simple and just limited to "n" number of days into the future. But I could see it getting more sophisticated with only allowing weekdays, etc. I can write the select elements manually, but I'm curious if there are any helpers that have started tackling this.

Answers

There is nothing that I have found. But this should be simple enough to create: