How ro calculate the login time of a user ??

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
djdon11
Forum Commoner
Posts: 90
Joined: Wed Jun 20, 2007 5:03 pm

How ro calculate the login time of a user ??

Post by djdon11 »

Hi friends

i have a problem here with login time calculation

i want to calculate the time of login of my site's user ...
means when the user login and than he logs out .. here i wants to calculate that how much time he was loged in to his account.

How can i do that can anybody have any idea for this or any snippet of code i can get from anybody than it is most welcome

please help me

Thanks.........
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Post by aceconcepts »

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Uh... time(). Use it, love it.
Post Reply