PHP计算年龄
//replace / with - so strtotime works$dob = strtotime(str_replace("/","-",$birthdayDate));       
$tdate = time();$age = 0;while( $tdate > $dob = strtotime('+1 year', $dob)){
    ++$age;}return $age;return floor((time() - strtotime($birthdayDate))/31556926);
 牧羊人nacy
牧羊人nacy 
					四季花海
 
					米琪卡哇伊
 随时随地看视频慕课网APP
随时随地看视频慕课网APP