<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
  <script src="//code.jquery.com/jquery-1.10.2.js"></script>
  <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
  <link rel="stylesheet" href="/resources/demos/style.css">
  
  <script>
 $(function() {
      $('#datepicker').datepicker({dateFormat: 'dd-M-yy',changeMonth: true,changeYear: true, yearRange: '1940:2019',});
});

$(function() {
      $('#datepicker3').datepicker({dateFormat: 'yy-mm-dd',changeMonth: true,changeYear: true, yearRange: '1940:2019',});
});
  
  $(function() {
      $('#datepicker2').datepicker({dateFormat: 'yy-mm-dd',changeMonth: true,changeYear: true, yearRange: '1940:2019',});
});

$(function() {
      $('datepicker4').datepicker({dateFormat: 'yy-mm-dd',changeMonth: true,changeYear: true, yearRange: '1940:2019',});
});

$(function() {
      $('#datepicker5').datepicker({dateFormat: 'yy-mm-dd',changeMonth: true,changeYear: true, yearRange: '1940:2019',});
});


$(function() {
      $('#datepicker22').datepicker({dateFormat: 'yy-mm-dd',changeMonth: true,changeYear: true, yearRange: '1940:2019',minDate : 0});
});

  </script>
	