Working on a real estate website and setting Open House dates and times using drop downs in a Custom Meta Box. Example drop down below:
<select name="sale_listing_open_house1_start_day" id="sale_listing_open_house1_start_day">
<option value="monday" <?php selected( $selected, 'Monday' ); ?>>Monday</option>
<option value="tuesday" <?php selected( $selected, 'Tuesday' ); ?>>Tuesday</option>
<option value="wednesday" <?php selected( $selected, 'Wednesday' ); ?>>Wednesday</option>
<option value="thursday" <?php selected( $selected, 'Thursday' ); ?>>Thursday</option>
<option value="friday" <?php selected( $selected, 'Friday' ); ?>>Friday</option>
<option value="saturday" <?php selected( $selected, 'Saturday' ); ?>>Saturday</option>
<option value="sunday" <?php selected( $selected, 'Sunday' ); ?>>Sunday</option>
</select>
Let's say there's a drop down for the end day, month, date and time ... Is there any way to format this so that the Open House will expire once the date/time has passed what was specified in the drop down?