I've created an asp script to write whether the day is either an A day or a B day.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<%
dim setday
dim day
setday=date()
If setday="1/28/2010" Then
day="A Day"
ElseIf setday="1/29/2010" Then
day="B Day"
ElseIf setday="2/1/2010" Then
day="A Day"
ElseIf setday="2/2/2010" Then
day="B Day"
Else
day="weekend"
End If
Dim wordd
If day="A Day" or day="B Day" Then
wordd="Today is an"
Else
wordd="It is the"
End If
%>
<% response.write(wordd) %> <strong><% response.write(day) %></strong>.
Is there an easier way to list the days as an A or B day? Weekends + School Holidays would have to be skipped.
Question
classicdisastr
I've created an asp script to write whether the day is either an A day or a B day.
Is there an easier way to list the days as an A or B day? Weekends + School Holidays would have to be skipped.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts