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
websites background colors
Formula to split Names
VBA for Excel - Calling a function from a dll - hanging - suggestions?
Oracle sql joins
100% CPU usage in vCenter but not in taskmanager on the Windows NT 4.0 VM that has been converted
drop multiple DBs
Black screen of death upon turning PC On
sp_helptext with schema
Readystate in IE in VBA program
handheld gps