Update the generateDates() function.

The generateDates() function was previously looking at a box
in the user's drawing as a specific date, often far away in
the future. The new code allows the current date to be checked
and calculates when is the soonest the user can start implementing
their artwork.