$(document).ready(function()
{
$("#EnterDate").datepicker({
dateFormat:"dd-mm-yy",
minDate: -0,
maxDate: "+0M +0D"
});
});
$(document).ready(function() {
$("#EnterDate").datepicker({
dateFormat:"dd-mm-yy",
minDate: -0,
maxDate: "+0M +4D"
});