Hello I have a problem trying to modify some code and think it should be simple but I can't figure it out and any help would be appreciated.
I have this code
On Index.asp, and when it is in between the start and end date it will show Index.asp otherwise if its not in between those dates it goes to expire.asp.
<% startDate=cdate("10/4/2012 00:00:00")%> <% endDate=cdate("10/20/2012 12:00:00")%>
<%If now() < startDate or now() > endDate Then Response.Redirect("expire.asp")%>
Basically what I need to do is reverse it so that in between the dates it shows expire.asp and the rest of the time it shows index.asp.
Thanks for any help
<%If now() > startDate and now() < endDate Then Response.Redirect("expire.asp")%>
Thanks! I knew I was missing something small.