get how minutes has passed with time()
Posted: Mon Aug 22, 2005 3:26 pm
How can I get how minutes have passed using time();
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
$starttime = some unix timestamp;
$endtime = time();
$timepassed = ($endtime-$starttime)/60;
echo $timepassed;