底層運作原理
The tool counts whole months from the start date, clipping to the end of shorter months (31 January plus one month is 29 February in 2024), then counts the remaining days. Total days uses the exact difference in calendar days. The next anniversary is the next date with the same month and day, with 29 February moving to 28 February in non-leap years.
詳細操作步驟
Enter the start date (birth date, hire date or event).
Enter the end date, or leave it blank to use today.
Choose whether to count the end date as a day.
Read the years, months, days, totals and the next anniversary.
核心功能與效能優勢
- Years, months and days
- Total days, weeks and hours
- Next birthday or anniversary and days until it
- Inclusive-end option for contracts and leave counting
實作範例與邊界案例
Age
17 May 1990 to 15 Nov 2026
36 years, 5 months, 29 days
Month-end rule
31 Jan 2024 to 1 Mar 2024
1 month, 1 day (30 days in total)
使用限制與精準度說明
- • Different organisations count partial months differently for service awards and legal limits; follow the policy or law that applies to you.
- • Dates use the Gregorian calendar and ignore time of day and time zones.
瀏覽器本地運算與隱私保障
傳統線上轉換網站會將您的文件、文字片段或影音檔案上傳至遠端伺服器。年齡、年資與日期間隔計算器 完全在您的瀏覽器分頁內運行:
您的檔案與文字都在裝置本機計算,不會傳送內容至任何後端伺服器。
Microdeck 不會記錄或儲存您在工具內貼上的任何檔案或程式碼。
所有暫存結果僅存在目前分頁記憶體中,重設或關閉分頁後即刻清除。
常見問題 (FAQ)
Why does the result depend on the month length?
Months have 28 to 31 days, so "one month" is a calendar step, not a fixed number of days. The tool clips to the end of the shorter month.
Should the end date be included?
Turn on the inclusive option when both the first and last day count, for example days of leave or contract length.
Is my date of birth stored?
No, nothing leaves your browser.