Skip to content

Instantly share code, notes, and snippets.

@davidvanvickle
Created July 24, 2012 21:04
Show Gist options
  • Save davidvanvickle/3172645 to your computer and use it in GitHub Desktop.
Save davidvanvickle/3172645 to your computer and use it in GitHub Desktop.
vbscript asp activate on date
' activate on this day
if datediff("d",now,cdate("09-Dec-2010 00:00:00")) <= 0 then
%>activated<%
end if
' activate at this time
if datediff("n",now,cdate("30-Dec-2010 17:00:00")) <= 0 then
%>activated<%
end if
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment