Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Login Time

JunMJunM Member Posts: 31
How can i test the login time. for example i have a user then i set his login time for example 6:30 am to 3:15 pm. the user can login to my page in the between of these time. otherwise he cant login. how can i do that?

Pls. help me...
Tnx.

Comments

  • FlakesFlakes Member Posts: 642
    [b][red]This message was edited by Flakes at 2005-8-24 3:39:8[/red][/b][hr]
    : How can i test the login time. for example i have a user then i set his login time for example 6:30 am to 3:15 pm. the user can login to my page in the between of these time. otherwise he cant login. how can i do that?
    :
    : Pls. help me...
    : Tnx.
    :

    You could play with this:

    [code]
    <%
    startTime=#6:30#
    endTime=#15:15#

    If((time() >startTime) and (time()
    [/code]



    You could also try the AM Pm version

    [code]
    startTime=#6:30 AM#
    endTime=#3:15 PM#
    [/code]

Sign In or Register to comment.