Ryan A <mailto:[EMAIL PROTECTED]>
    on Wednesday, February 18, 2004 8:19 AM said:

> I think I will need to use mktime....but how??
> 
> Any help appreciated, in URL form, hints or PHP manual references.

well i think the idea is to convert the date/time of the person's
birthday into a unix timestamp and then subtract that from the current
date/time. then you can convert the difference back into a readable
format.

i think the unix timestamp is in seconds??? so if you end up with 5000
as the difference you can...

5000/60 = $minutes
$minutes/60 = $hours
$hours/24 = $days
etc.


hthaihinw*,
chris.


* Hope This Helps And I Hope I'm Not Wrong :)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to