Fixed issue #8684: Allow maxdate > year 2038

Dev: leave default max at 2038 (eg. contents of
Dev: dropdown boxes). Allow up to 2099 if
Dev: maxdate is set accordingly.