Máy tính ngày
Calculate date differences, add or subtract time from dates, find weekdays, and business days. Handles leap years and step-by-step solutions.
Your Input
Select a calculation type, enter your dates, and click Calculate to see results with step-by-step solutions and visualizations.
Kết quả
Giải pháp từng bước
Hướng dẫn sử dụng hoàn chỉnh
Máy tính ngày là gì?
A date calculator performs date-related calculations: difference between two dates, add or subtract time periods (years, months, weeks, days), days since a past date or until a future date, and which day of the week a date falls on. It handles leap years, varying month lengths, and year boundaries.
Difference = 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ó để lập kế hoạch dự án, đếm ngược, tuổi hoặc nhiệm kỳ, thời hạn và lập kế hoạch.
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
Chênh lệch ngày
Exact difference in years, months, days, weeks, and business days (Monday–Friday, excluding weekends).
Cộng/trừ
Add or subtract years, months, weeks, or days from a date. Result shows the new date and day of the week.
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 (countdowns, deadlines).
Ngày trong tuần
Find which day of the week (Monday, Tuesday, …) a given date falls on.
Cách sử dụng máy tính này
- Select a calculation type (Date Difference, Add/Subtract, Days Since, Days Until, or Weekday)
- Enter the required dates and values in the form
- Click 'Calculate' to see the result
- Review the main result, detail cards (when applicable), and step-by-step solution
- Sử dụng biểu đồ để biết chênh lệch ngày hoặc số ngày kể từ/cho đến khi xem bảng phân tích trực quan
- 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
Câu trả lời chính: sự khác biệt về định dạng (ví dụ: 2 năm 3 tháng), ngày kết quả, số ngày hoặc tên ngày trong tuần.
Detail cards
For date difference: total days, weeks, months, and business days in a compact grid.
Step-by-step
Hiển thị cách tính toán được thực hiện, bao gồm các công thức và giá trị 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 đến Thứ Sáu); Thứ bảy và chủ nhật được loại trừ. Được sử dụng cho thời hạn dự án, ước tính vận chuyển, lịch trình làm việc và điều khoản hợp đồng. Máy tính này không loại trừ ngày lễ.
Phương pháp tính ngày
Delta tương đối: Precise year, month, and day differences; accounts for varying month lengths and leap years.
Từ tính giờ: Tổng số ngày giữa các ngày (trừ ngày đơn giản).
Business days: Count of weekdays (Mon–Fri) between two dates.
Ghi chú quan trọng
- All calculations account for leap years and varying month lengths.
- Business days exclude weekends only; holidays are not excluded.
- Dates must be between year 1 and 9999. Use YYYY-MM-DD format.