Chuyển đến nội dung
CalcVerse

Máy tính khoảng cách ngày

Calculate the number of days between two dates, and the same span in weeks, months and years, hours and business days.

Phần hướng dẫn bên dưới chưa có bằng tiếng Việt nên được hiển thị bằng tiếng Anh. Bản thân máy tính đã được dịch đầy đủ.

Cách sử dụng máy tính này

  1. Choose a start date and an end date.
  2. Tick 'include end date' to count both the first and last day (for example, for a hotel stay counted in days rather than nights).
  3. Results update instantly.

Công thức

Days are counted between calendar dates, so time zones and daylight saving time don't affect the result. The years-months-days breakdown counts whole calendar months, borrowing days from the previous month when needed.

Days = end − start (+1 if the end date is included)
Weeks = ⌊days ÷ 7⌋ remainder days

Example

  1. From 1 January 2026 to 1 March 2026: 31 + 28 = 59 days.
  2. That's 8 weeks and 3 days, or 2 months exactly.

Câu hỏi thường gặp

Is the end date included?

By default no: the difference between today and tomorrow is 1 day. Tick the option to include it, which adds one day.

How are leap years handled?

Automatically. February 29 is counted when it falls between the dates.

What counts as a business day here?

Monday to Friday. For public holidays, use the business days calculator, where you can list dates to exclude.