Here's the updated code again I want the div for Friday, not to appear on Friday. I also want it not to appear after 5pm but I could not get passed day problem. Thank you for all you help.
<html>
<head>
<script type="text/javascript">
$(document).ready(function() {
var rightNow = new Date();
var day = rightNow.getUTCDay();
if (day == 5) {
$('#friday').hide();
}
});
</script>
<style type="text/css">
div {
border:solid black 1px;
background-color:lightblue;
color:darkblue;
font-size:14pt;
font-family:arial;
width:550px;
height:220px;
overflow:auto;
padding:5px;
}
</style>
</head>
<body>
<div id='friday'>
friday
</div>
<br>
<div id='saturday'>
saturday
</div>
<br>
<div id='sunday'>
sunday
</div>
<br>
</body>
</html>