jQuery UI: Date Picker

Date Picker

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/mint-choc/jquery-ui.css">
<input id="noSunday" type="text">

CSS

/*
    Add custom styling or use existing jQuery UI themes

    REFERENCE: jQuery UI themes, http://blog.jqueryui.com/
*/

JavaScript

$( "#noSunday" ).datepicker({ 
        beforeShowDay: noSunday
});

function noSunday(date){ 
          var day = date.getDay(); 
                      return [(day != 0 && day != 6), '']; 
      };