Here's a simple script for that:
Code:
<script type="text/javascript">
setInterval(function(){
var t = 18, url = 'http://www.dynamicdrive.com/',
now = new Date(), h = now.getHours(), m = now.getMinutes();
if(h === t && m < 1){window.location.replace(url);}
}, 1000);
</script>
18 is the target hour (0 - 23) and http://www.dynamicdrive.com/ is the destination address for when the clock strikes the target hour.
Consider however whether or not you want it to only happen when the clock strikes the target hour or perhaps at the target hour and until another target time. As illustration - In the above code it will (checking every second) continue to redirect for about a minute. So if you got to the page at 18:00:30 - say, it would still redirect you. If you get there at 18:01:00, too late, you stay where you are.
Bookmarks