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
SATA Operation settiing in BIOS and Intel Rapid Storage Technology
sumif with 2 conditions
Need a better understanding of SSL Certs
VB.Net 2010: ResourceManager.GetObject fails with silent exception on x64
How to show the progress of record submission to the database dynamically in JSP
Script Group Policy Changes
user equivalence check failed for user "oracle"
""could not read the calendar. The connection to Microsoft Exchange is unavailable"
Emails sent as BCC
DELETE DUPLICATE RECORD from TABLE in SQL Server 2005