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

Format: YYYY-MM-DD

Must be on or after start date

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

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  |  Business days = weekdays only (Mon–Fri)

Use it for project planning, countdowns, age or tenure, deadlines, and scheduling.

Date Format

Use YYYY-MM-DD (e.g. 2025-02-15). Dates from year 1 to 9999 are supported.

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

  1. Select a calculation type (Date Difference, Add/Subtract, Days Since, Days Until, or Weekday)
  2. Enter the required dates and values in the form
  3. Click 'Calculate' to see the result
  4. Review the main result, detail cards (when applicable), and step-by-step solution
  5. Use the chart for date difference or days since/until to see a visual breakdown
  6. Click 'Reset' to set all dates to today and clear results

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

Main result

The primary answer: formatted difference (e.g. 2 years 3 months), result date, number of days, or weekday name.

Detail cards

For date difference: total days, weeks, months, and business days in a compact grid.

Step-by-step

Shows how the calculation was performed, including formulas and intermediate values.

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

Business days are weekdays (Monday through Friday); Saturdays and Sundays are excluded. Used for project deadlines, shipping estimates, work schedules, and contract terms. This calculator does not exclude holidays.

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ờ: Total days between dates (simple date subtraction).

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.

📤 Share This Tool