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
Setting Folder Permission in Windows XP - VB Script
Exchange 2007 mail relay
How do I add rows to a datagridview based upon a For Each statement in VS2008?
Checkpoint VPN Site to Site Issue - encryption failure: Unknown SPI: 0xb41565ee for IPsec packet.
Adding one cell to the bottom of a named range defined byan OFFSET
Creating a Dynamic Form from SQL database tables in ColdFusion
MAC Mail with Exchange 2007 Attachment Issue
Error message when replying, sending, openning email in OWA
exiting users from database
Can't connect to local MySQL server through socket