![]() |
How to Subtract Time from Time to = Time?
Basically what I'm asking if I have something like
$user['dateregistered'] $currentdate Both of those are stored in the db, how can I take the dateregistered and subtract the current date and then be able to output a new variable called something like $totaldaysregistered. And have that totaldaysegistered display the number of days, hours, and minutes total. Is there any kind of php coding we can do to get this? |
PHP Code:
|
as you can find in member.php that way:
PHP Code:
|
Quote:
|
theoretically it should be possible to use vbdate here, so in a way like:
PHP Code:
|
All times are GMT. The time now is 04:42 PM. |
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:
|