[PHP] Converting dates?

2001-11-17 Thread Jeff Lewis
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

RE: [PHP] Converting dates?

2001-11-17 Thread Jack Dempsey
is not a drug. Subject: [PHP] Converting dates? 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

Re: [PHP] Converting dates?

2001-11-17 Thread Jeff Lewis
. [EMAIL PROTECTED] Sent: Saturday, November 17, 2001 3:30 PM Subject: RE: [PHP] Converting dates? search the archives there are tons of messages dealing with date manipulation. basically take the timestamps find the difference in seconds, convert to days, etc jack -Original