Hi,
I'm having a tuff time trying to check if the current time is within a certain range. This is probably very simple, but I can't figure it out.
The AM and PM are not being taken into account...
Code:If (Date.Now.ToShortTimeString > "3:00AM" And Date.Now.ToShortTimeString < "4:30AM") Then Response.Redirect("test.aspx") End If



Reply With Quote
