年齢を出生年(+万歳、国内年齢)に換算


ここでrow生年を配布する.
ex) 1999-03-08
/国内年齢/
const today = new Date();
const birthDate = new Date(row.birth);
let birthToAge =
  today.getFullYear() - birthDate.getFullYear() + 1;
/万年/
const today = new Date();
const birthDate = new Date(row.birth);
let birthToAge =
  today.getFullYear() - birthDate.getFullYear();