Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: How to do session times The Right Way

by PhiRatE (Monk)
on Oct 31, 2002 at 21:33 UTC ( [id://209536]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    start_time     , stop_time      , userid
    20020901101111 , 20021002121201 , fred
    20020904102010 , NULL           , johnwhoneverlogsoff
    
  2. or download this
    select count(*) from sessions where start_time < $end_of_segment and (
    +stop_time > $start_of_segment || stop_time IS NULL);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://209536]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2024-03-28 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found