The maximum date which can be set to the datepicker. This date is also the maxdate which the calendar can show. The default value is new Date(2099, 11, 31).

Note that if the build-in calendar has set maximum date it will be overridden by the max date of the picker.

<input id="picker" ></input>

<script type="text/javascript">
    $(function () {
            max: new Date(2030, 0, 1)