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
Exchange 2010 on a domain controller 2008 R2 for 2 users?
Check each machine to see the logged in user IE setting on which configuration they use.
Exchange 2010 and Outlook 2003 subfolder display bug
How to configure the network printer in the FreeBSD 8?
MS Access global event handler
what does this javascript code do?
SSRS Combine two datasets into one data region - Must be in report not in SQL server
Datareader object is already open message
Cisco QOS to prioritize voice
I want to refresh the desktop in C#, I try to use IActiveDesktop::ApplyChang
es but IActiveDesktop alias is not found as C# underlines it. What should I do?