Jquery UI Date Picker Restrict Date

Jquery UI Date Picker Restrict Date

I've got some existing code for a jquery ui date picker that needs to have a restriction on the current date. If a user is attempting to use the date picker to schedule service, they need to not be able to select the same day as the current day. I understand what I'm looking at here, but am a novice to say the least and don't want to break anything. Anyone have any suggestions on how to do this?
  1. var weekday = new Array(7);

  2.     weekday[0] = "Sunday";
  3.     weekday[1] = "Monday";
  4.     weekday[2] = "Tuesday";
  5.     weekday[3] = "Wednesday";
  6.     weekday[4] = "Thursday";
  7.     weekday[5] = "Friday";
  8.     weekday[6] = "Saturday";
  9.     var Globalday = 0;
  10.     var nowDate = new Date();
  11.     var today = new Date(nowDate.getFullYear(), nowDate.getMonth(), nowDate.getDate(), 0, 0, 0, 0);
  12.     $(function () {
  13.         $("#00Ni000000EmYTY").datepicker(
  14.         {
  15.             minDate: 0,
  16.             startDate: today,
  17.             beforeShowDay: function (date) {
  18.                 var day = date.getDay();
  19.                 if ((date.getMonth() == 0) && (date.getDate() == 1)) {
  20.                     return '';
  21.                 }
  22.                 if ((date.getMonth() == 6) && (date.getDate() == 4)) {
  23.                     return '';
  24.                 }
  25.                 if ((date.getMonth() == 11) && (date.getDate() == 25)) {
  26.                     return '';
  27.                 }

  28.                 if ((date.getMonth() == 10) && (day == 4) && (Math.ceil(date.getDate() / 7)) >= 4) {
  29.                     return '';
  30.                 }
  31.                 return [day != 0, ''];
  32.             },