title: jQuery UI Datepicker Gravity Forms minDate 2 days after 5pm
body: <p>I am trying to setup a date field using Gravity Forms in wordpress, to display the min date 2 days after if current time is >= 5pm and excluding weekends.</p>
  
  <p>I found the solution for excluding the weekends at
  <a href="https://stackoverflow.com/questions/13016233/gravity-forms-jquery-no-weekends">Gravity Forms jQuery No Weekends</a>
  Here is the solution by <a href="https://stackoverflow.com/users/1766031/ian-rogers">https://stackoverflow.com/users/1766031/ian-rogers</a> </p>
  
  <pre><code>jQuery(document).bind('gform_post_render', function(){
  // destroy default Gravity Form datepicker
  jQuery("#input_1_1").datepicker('destroy');
  // create new custom datepicker
  var oneWorkingDays = new Date();
  var adjustments = [0, 1, 1, 1, 1, 1, 0]; // Offsets by day of the week
  oneWorkingDays.setDate(oneWorkingDays.getDate() + 1 + adjustments[oneWorkingDays.getDay()]);
  jQuery("#input_1_1").datepicker({ beforeShowDay: jQuery.datepicker.noWeekends, minDate: '+1d', gotoCurrent: true, prevText: '', showOn: 'both', buttonImage: '/wp-content/plugins/gravityforms/images/calendar.png', buttonImageOnly: true });
  </code></pre>
  
  <p>});</p>
  
  <p>So, I will appreciate if someone could help me integrate the other solution, that is displaying the min date 2 days after if current time is >= 5pm.</p>