#
September 20, 2012 at 7:35 am
So this is my code:
$birth = ‘1994-09-18’;
$birth_minus_100 = date(‘Y-m-d’, strtotime(‘- 100 year’, strtotime($birth)));
It work fine when I substract 2 years or so, with 100 the result is 1970-01-01. It seems to me some PHP bug no?