Microsoft
Software
Hardware
Network
Question : Never done asp 3.0 need quick code to tell if hour is odd or even
Hi
I have never done asp 3.0 need something real quick and dirty for default.asp page that will tell me if the hour is even then response.redirect(PageEven
) of odd
<%
Dim TimeString
TimeString =time()
if Left(TimeString,1) = 1 or Left(TimeString,1) =3 or Left(TimeString,1) =5 ...
response.redirect(PageOddH
our)
if Hour of time is even
response.redirect(PageEven
Hour)
%>
Answer : Never done asp 3.0 need quick code to tell if hour is odd or even
Also:
If (x Mod 2) = 0 Then
'' [x] is even
Else
'' [x] is odd
End If
Random Solutions
Oracle SQL Developer -- double click to open TABLE ?
jquery auto complete
Equipment for home MPLS test lab?
WHAT'S THE DIFFERENCE BETWEEN NATURAL KEYS AND surrogate keys
Turn off the UAC
External Monintor won't work w/ Toshiba laptop; it USED to; fn (f5) doesn't "stick"
WCF hosted on IIS: Why doesn't it show me the WCF method name and it's signature?
yum install 7 Zip
Dont display record if string field is blank/null
Saving Favorites in Windows 7, IE 8