Time, 10 Minutes Ago
Posted: Thu Mar 19, 2009 10:27 am
I'm writing a script to find active users. What's the easiest way to check within the last ten minutes.
Every action the user makes, is logged in the db under the "LastActive" colum. (ex - 2009-03-19 09:35:00)
If the current time is 2009-03-19 09:39:00, my example should show.
What is the easiest way to go about checking if they've been active in the past 10 minutes?
Every action the user makes, is logged in the db under the "LastActive" colum. (ex - 2009-03-19 09:35:00)
If the current time is 2009-03-19 09:39:00, my example should show.
What is the easiest way to go about checking if they've been active in the past 10 minutes?