Block Pages on Saturday & Sunday

Block entrance to a part of your site on Saturdays and Sundays. There should be a warning like "today is Saturday, the site is closed, come back Monday"
<%
varDayOfTheWeek = Weekday(Now())

If (varDayOfTheWeek = 1) OR (varDayOfTheWeek = 7) Then

Response.Write("Please come back on Monday")

Else

'-- show page normally

End if
%>




Back To Top
© 1998 - 2017 psacake.com | My3C's

Version 7.2 | Advertise on this site