Jump to content

Last Seen


N-Bomb(Nerd)

Recommended Posts

I'm giving consideration of adding a "Last Seen" feature to my website. I'm easily able to put the current time in the database when they're seen on any of my pages. However, what would be the proper date/time format when submitting that to the database?

 

Also, what would be the proper way of calculating the days/time they've been inactive? I'm sure there's some fancy way to do this with a bit of math, but math is my worst.

Link to comment
https://forums.phpfreaks.com/topic/156750-last-seen/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.