如何計算年齡和日期間隔天數
要點
- 輸入日期
- 找到想看的專案
- 確認結果
Age, the number of days between two dates, adding or subtracting days from a date. Calculate Age, Days Between Dates and Date Offsets handles these date calculations together. The input is never sent off your device.
能做什麼
- Find an age: from a date of birth, the age in full years and the days to the next birthday.
- Days between two dates: shown as days, and as weeks and days.
- Add or subtract days from a date: the date N days after or before the starting date.
Steps (age)
- Under "Find an age", enter the "Date of birth".
- Entering a "Reference date (today if empty)" gives the age on that day. If empty, it is today.
- "Age in full years" and "Days until next birthday" are shown.
Steps (days)
- Under "Days between two dates", enter the "Start date" and "End date".
- If needed, tick "Count the first day (include in the period)".
- 會顯示「天數」和「幾周幾天」。
Steps (add or subtract)
- Under "Add or subtract days from a date", enter the "Starting date".
- Enter the "Days to add (negative to subtract)".
- The "Resulting date" is shown.
In day counts, whether you "count the first day" changes the result by one day. Explained in a separate guide.
適合
- Knowing the days until a deadline
- Checking an age
- Calculating the period of a contract or warranty
- Knowing the date N days later (such as payment due dates)
Common stumbling blocks
- The day count is off by one: it changes depending on whether the first day is counted.
- The age is different: check whether the reference date is today or another day.
- Entering negatives: to subtract, put "-" before the number.
Frequently asked questions
Are the dates I enter sent anywhere?
No. They are calculated inside the browser.
小結
Age, day counts and date arithmetic in one. Take care over whether to count the first day.
使用「計算年齡、日期間隔天數和日期加減」(免費)搭配使用的工具
- 西曆與日本年號互相轉換:西曆與日本年號互相轉換。
- 計算消費稅(含稅/不含稅):立即計算含稅和不含稅金額。
- 製作簡歷 PDF(日式履歷書):填寫個人資訊、學歷、工作經歷和求職動機,製作日式簡歷(履歷書)PDF,可選擇新增證件照。