mktime limitation
| From: | Kit Kerbel | Date: | Wed, 24 Jul 2002 16:08:53 +0000 |
| Subject: | mktime limitation | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-14918@lists.php.net to get a copy of this message | ||
here it is again.
Does anyone know of a good way to do this:
//Date calculation
$today = getdate();
$mn = $today['mon'];
$dy = $today['mday'];
$year = $today['year'];
if ($AGEFROM=="")
{
$AGEFROMx = 32;
$AGEFROMCALC = strftime("%m/%d/%Y",mktime(0,0,0,$mn,$dy,$year - $AGEFROMx));
}
**without the limitation of mktime of only being able to go back to 1970
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx