📜  java中按出生日期制作的死亡计算器 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:55.327000             🧑  作者: Mango

代码示例2
Death: 1899 03 18 --> 1899 02 --> 1898 13 
Birth: 1805 04 27 --> 1805 04 --> 1805 03 
Alive from April 27th to 30st  in 1805 = 4 days
Alive from March 1st to 18th, but don't count last day = 17 days
Total of 21 days.

Giving an age of 93 years 10 months 21 days