計算天數:算不算第一天
要點
- 輸入日期
- 切換核取方塊
- 比較天數
In day calculations, a one-day discrepancy usually comes from "whether to count the first day or not". You can switch it with "Count the first day (include in the period)" in Calculate Age, Days Between Dates and Date Offsets.
The two ways of counting
- Do not count the first day: count the day after the start date as day 1. The feel of "N days left".
- Count the first day: count the start date as day 1. The feel of "a period of N days".
示例
From 1 October to 10 October.
- Not counting the first day → 9 days
- Counting the first day → 10 days
Even for the same period, the way of counting changes it by one day.
步驟
- Under "Days between two dates", enter the "Start date" and "End date".
- Tick (or untick) "Count the first day (include in the period)".
- Check the "Days".
If a contract or rule fixes how periods are counted, follow it.
該用哪個
- Days remaining (how many days left): do not count the first day.
- A period of N days (trip, holiday, rental): count the first day.
- "N nights, N+1 days": the number of days counts the first day.
- Periods in contracts and law: follow the provisions. In general, under the Civil Code the first day is, as a rule, not counted (counting from the next day).
Example (trip)
A trip from 1 October to 3 October:
- Counting the first day → 3 days (2 nights, 3 days)
Example (deadline)
Today is 29 October and the deadline is 30 November.
- Not counting the first day → 32 days left
Example (rental)
Borrowed on 1 October and returned on 10 October.
- Counting the first day → a 10-day rental
- How fees are counted differs by company, so check the terms
Checking when unsure
- Read the document's wording ("N days", "within N days", "starting date")
- Ask the other party how they count
- See the result in both ways of counting
Common stumbling blocks
- Forgot whether the box was ticked: the result differs by a day.
- Whether the deadline day is included: check the meaning of "until day N".
- Contract periods: give priority to the contract's provisions.
Frequently asked questions
Which is correct?
It depends on the purpose. Neither is wrong; they are different ways of counting.
小結
Days remaining does not count the first day; a period of N days counts it. If a document has provisions, follow them.
使用「計算年齡、日期間隔天數和日期加減」(免費)搭配使用的工具
- 西曆與日本年號互相轉換:西曆與日本年號互相轉換。
- 計算消費稅(含稅/不含稅):立即計算含稅和不含稅金額。
- 製作簡歷 PDF(日式履歷書):填寫個人資訊、學歷、工作經歷和求職動機,製作日式簡歷(履歷書)PDF,可選擇新增證件照。