here is some script that might help you a little. this only counts days, hours, seconds thou..
there is something that makes it go off by one hour after a couple of years. I am not sure why it does that.
PHP Code:
<?php
$stamp = strtotime(" 21 march 1986 12:00:00"); //the date and time you where born
$stamp2 = strtotime("now");
$diff = ($stamp2 - $stamp);
$days = floor($diff / 86400);
$hour = floor(($diff - $days * 86400)/ 3600);
$min = floor(($diff - $days * 86400 - $hour * 3600) / 60);
$sec = floor($diff - $days * 86400 - $hour * 3600 - $min * 60);
$return = "I am $days days $hour h $min m $sec s old";
echo $return;
?>
output:
I am 6691 days 0 h 41 m 24 s old
__________________
-=nestyra.com=-
|