Run jQuery based on time

<script>

var thehours = new Date().getHours();
if (thehours >= 0 && thehours < 15) {

$('#shipping-29').hide();

} else if (thehours >= 15 && thehours < 24) {

$('#shipping-37').hide();

}
</script>