🎂 Age in Days Calculator
Convert a birth date into the total number of days lived and the days remaining to the next birthday or a target date.
📐 工作原理與說明
累計天數 =(當前時刻 − 出生日期)÷ 86400 秒;小時、分鐘、秒依次對上一級取餘得到;1 年按 365.25 天計(閏年每 4 年增加 1 天,整百年需能被 400 整除才是閏年),可繼續換算為周、月等跨度。
請輸入出生日期
📐 公式說明
按出生日期零點估算兩個日期之間的時長
1 天 = 86400 秒 = 24 小時 = 1440 分鐘
1 年 ≈ 365.25 天(含閏年修正)
1 個月 ≈ 30.4375 天(平均)
注:頁面只收集出生日期,小時/分鐘/秒按出生日期當地零點估算;實際出生時刻和出生地時區會造成差異。
📚 深度解析:年齡天數計算
💡 常見使用場景
- 算出生至今總天數。
- 寶寶滿百天、滿週歲等成長節點按總天數記錄,方便製作成長紀念。
計算
1990-01-01 至 2026-09-09 ≈ 13390 天(含閏年)。
❓ 常見問題(FAQ)
- 包含今天?
- 按區間天數計,是否含當天視設定。
- 閏年會影響天數嗎?
- 會。頁面按實際曆法逐日累加,閏年的 2 月 29 日計入,因此結果比按 365 天估算更準確。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Day difference | days = end date - start date counted as calendar days | ISO 8601 |
| Day length | a civil day counts 86400 seconds, ignoring leap seconds | SI Brochure / ISO 8601 |
| Age conversion | completed years require subtracting month lengths step by step | Gregorian calendar rule |
⚠️ 使用說明與注意事項
- 本工具純前端執行,資料不會上傳到伺服器
- 建議在主流瀏覽器(Chrome/Safari/Firefox/Edge)中使用
- 計算結果僅供參考,請以實際應用場景為準