![]() |
Entering timestamp into database.
I would just like to know how to enter a timestamp into the database per user.
Just so I could do a function where the old timestamp was subtracted from the new timestamp to get a readout of "There has been x time since..." Could anyone give me a little code snippet or at least tell me the function to do this? Thanks! |
what time do you want though? lastlogin, lastpost, etc.?
also do you just want to display it? if so, this would work: PHP Code:
then you could update the database with this code: PHP Code:
|
All times are GMT. The time now is 04:45 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|