That should be better done with a server-side script language like ASP or PHP, because with Javascript you will be checking the time on the client side, and because when your server is at 2AM - 7AM, visitors from all over the world will be on different times. Jaime jaime at alazan.com -----Mensaje original----- De: javascript-bounces at LaTech.edu [mailto:javascript-bounces at LaTech.edu] En nombre de McCoy, Thomas Enviado el: lunes, 24 de marzo de 2003 18:47 Para: 'javascript at LaTech.edu' Asunto: [Javascript] Time & day-based redirects? Every Monday morning between 2AM and 7AM our server goes down (for backup reasons). Does anyone know of a JS script (or another language if necessary) that would redirect based upon day and time? This way the temperamental user would see a "we'll be back at 7AM" screen, instead of "page cannot be displayed" and then they freak out and start dissecting their PC :) Thanks in advance for your help! Sincerely, Thomas McCoy -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030324/a6d36414/attachment.htm>