Hi,
I have a database where the user info are stored and when a user login, it stored the last time they logged in. The time is in seconds like: 1038798090. How do I check with the current time and the last logged in time to figure if the user is been active for the last 2 or 3 minutes?
I have a database where the user info are stored and when a user login, it stored the last time they logged in. The time is in seconds like: 1038798090. How do I check with the current time and the last logged in time to figure if the user is been active for the last 2 or 3 minutes?