Converting dates?

From: Date: Sat, 17 Nov 2001 20:17:18 +0000
Subject: Converting dates?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-75006@lists.php.net to get a copy of this message
I am storing a birthdate in my database as a Unix timestamp but when I display it I want to calculate the different between that date and todays date and display the persons age. How can I do that with PHP? I also want to know if it is currently their birthday. So trying to set $isbday to yes if todays month and day are the same as their birthdate in the database. Jeff

« previous php.general (#75006) next »