Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System date time

Status
Not open for further replies.

Kendel

Programmer
Apr 24, 2002
1,512
US
I'm trying to set up some restriction on a web page. I have this piece of code:

<%
if time() >= CDate("8:00:00 AM") and time() <= CDate("5:00:00 PM")

.... blab ..blab ...

end if %>

I tested it on the server, it works as expected. But for some unknown reasons, this setting doesn't work for some users. The time I set is on server side and not client side, how come it is still available to some of them ??? Does anyone see what I'm doing wrong here? Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top