年龄计算器

Age Calculator

精确计算年龄 — 到年、月、日、小时、秒

Calculate your exact age — down to years, months, days, hours, and seconds

出生日期Date of Birth
计算到日期Age at Date

Frequently Asked Questions 常见问题

How do I calculate my exact age?如何计算我的精确年龄?

Enter your date of birth and a reference date. The calculator shows your age in years, months, and days, plus total days lived and hours elapsed.输入出生日期和参考日期,计算器会显示年/月/日龄,以及活了多少天和小时。

How many days until my next birthday?距离下次生日还有多少天?

The calculator automatically shows a countdown to your next birthday when you enter your date of birth.输入出生日期后,计算器会自动显示距离下次生日的倒计时。

How do I calculate the age difference between two people?如何计算两人的年龄差?

Enter the older person's birth date as 'Date of Birth' and the younger person's birth date as 'Age at Date'. The result shows the gap.把年长者的生日作为"出生日期",年幼者的生日作为"计算到日期",结果就是年龄差。

Does this account for leap years?这个计算器考虑闰年吗?

Yes. Total days and hours are calculated using exact JavaScript Date objects, which correctly handle leap years.是的。总天数和小时数使用 JavaScript Date 对象精确计算,自动处理闰年。

← Back to all tools← 返回所有工具