Datetime_select custom input fields

by default datetime_select allows the user to input any date and time
they want.

Is there a way it can only allow a user to select an hour between 8AM
and 6PM and only allow them to choose the top of the hour (:00) and
the half hour (:30) for the minute?