Bộ đếm ngày

Count days between dates, days since or until a date, and countdowns to events. Handles leap years with step-by-step solutions.

Your Input

Định dạng: YYYY-MM-DD

Must be on or after start date

Select a calculation type, enter your dates, and click Count Days to see results with step-by-step solutions and visualizations.

Hướng dẫn sử dụng hoàn chỉnh

Bộ đếm ngày là gì?

A day counter calculates the number of days between two dates, days since a past date, days until a future date, or a countdown to an event. It accounts for leap years, varying month lengths, and year boundaries.

Total days = End Date − Start Date  |  Ngày làm việc = chỉ các ngày trong tuần (Thứ Hai–Thứ Sáu)

Sử dụng nó để biết các mốc thời gian của dự án, đếm ngược, tuổi hoặc nhiệm kỳ theo ngày và lập kế hoạch sự kiện.

Date Format

Sử dụng YYYY-MM-DD (ví dụ: 2025-02-15). Ngày từ năm 1 đến năm 9999 được hỗ trợ.

Các loại tính toán

Ngày giữa

Exact number of days between two dates, plus weeks, months, hours, and business days (weekdays only).

Ngày kể từ

How many days have passed since a past date (e.g. since birth, since an event).

Ngày cho đến

How many days remain until a future date (deadlines, countdowns).

Đếm ngược

Countdown to an event with optional name; shows days, weeks, months, hours, and minutes until the date.

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

  1. Select a calculation type (Days Between, Days Since, Days Until, or Countdown)
  2. Enter the required dates (and optional event name for Countdown)
  3. Click 'Count Days' to see the result
  4. Review the main result, detail cards (when available), and step-by-step solution
  5. Use the chart for a visual breakdown where available
  6. Nhấp vào 'Đặt lại' để đặt tất cả các ngày thành hôm nay và xóa kết quả

Hiểu kết quả của bạn

Main result

Tổng số ngày, kèm theo bản tóm tắt được định dạng ngắn (ví dụ: X ngày hoặc X tuần Y ngày).

Detail cards

Đối với Số ngày giữa và Đếm ngược: chia thành tuần, tháng, ngày làm việc và giờ nếu có.

Step-by-step

Hiển thị cách tính số ngày, bao gồm các công thức và các bước trung gian.

Hiểu ngày làm việc

Ngày làm việc là các ngày trong tuần (Thứ Hai–Thứ Sáu); cuối tuần được loại trừ. Được sử dụng cho thời hạn dự án, vận chuyển, lịch trình làm việc và hợp đồng. Ngày lễ không được loại trừ.

Phương pháp đếm ngày

Simple subtraction: Total days = end date − start date.

Delta tương đối: Precise years, months, and days; accounts for month lengths and leap years.

Business days: Count of weekdays (Mon–Fri) between the two dates.

Ghi chú quan trọng

  • All calculations account for leap years and varying month lengths.
  • Business days (Days Between) exclude weekends only; holidays are not excluded.
  • Use YYYY-MM-DD format. Dates must be between year 1 and 9999.

📤 Share This Tool