php 生年月日から年齢を計算する 2019/2/7 php phpで生年月日から年齢を計算する方法 $age = getAge('1992-01-05'); echo $age; function getAge($birthday) { ...