TheMayhem
02-23-2005, 01:00 AM
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?
$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?