RE: [PHP] Can't use strtotime for dates before 1970. Why not??

From: Date: Wed, 10 Sep 2003 17:31:53 +0000
Subject: RE: [PHP] Can't use strtotime for dates before 1970. Why not??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162205@lists.php.net to get a copy of this message
Hi, Unix time stamps are based on the number of ...minutes/seconds (one of the two)... between 1/1/1970 and Now(). -Dan Joseph > -----Original Message----- > From: Free Grafton [mailto:free@churchcommunitybuilder.com] > Sent: Wednesday, September 10, 2003 1:25 PM > To: php-general@lists.php.net > Subject: [PHP] Can't use strtotime for dates before 1970. Why not?? > > > I¹ve been on this list for a short time so my question may have been > answered, but if someone could direct me to a satisfying answer, > it would be > greatly appreciated. > > We provide a MySQL, PHP solution to customers. One of the fields that we > store for the customers are birthdates. We just recently upgraded from Red > Hat 7.1 to Red Hat 9.0 and now have realized that at version 7.3 they > changed it where strtotime no longer shows values before 1/1/1970 as > negative values. It nows creates a ­1 error. Thus, we are now > left with any > individual over the age of 33 to not be able to calculate their birthdate. > This is quite frustrating as there are no other functions that can handle > this that we have found. I have looked around the PHP boards and > it appears > that individuals are having to build custom functions to handle > this and are > also frustrated with this issue. > > So, my question is, does anyone have any solutions we can use, > know where to > find one, know if this issue will ever be addressed, etc. Thanks for your > time and knowledge. > > Free Grafton > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#162205) next »