You can specify a start and end date in the server validation and calculate the dates based on the current date or start and end dates. The work is done with the two php functions date() and strtotime(), which make date manipulation pretty easy to accomplish.
Look at:
function.strtotime.php
and:
function.date.php