Skip to main content

Days Between Dates ஐ எப்படி கணக்கிடுவது

Days Between Dates என்றால் என்ன?

A days between dates calculator counts the exact number of calendar days separating two dates. It can also express the difference in weeks and months for longer time spans.

சூத்திரம்

days = end_date - start_date (accounting for leap years)
start
Start date (date) — Beginning date (YYYY-MM-DD)
end
End date (date) — Ending date (YYYY-MM-DD)
days
Days between (days) — Total calendar days elapsed

படிப்படியான வழிகாட்டி

  1. 1Convert both dates to milliseconds since epoch
  2. 2Subtract start from end date in milliseconds
  3. 3Divide by 86,400,000 (ms per day)
  4. 4Result is the absolute number of calendar days

தீர்க்கப்பட்ட எடுத்துக்காட்டுகள்

உள்ளீடு
Jan 1 to Dec 31 same year
முடிவு
364 days (365 in a leap year)
உள்ளீடு
Mar 1 to Jun 30
முடிவு
121 days
உள்ளீடு
Today to your birthday
முடிவு
Exact days remaining

அடிக்கடி கேட்கப்படும் கேள்விகள்

Does the calculation include both start and end dates?

Usually not. The result is the number of complete days between. For example, Mon–Tue = 1 day.

How do leap years affect the count?

Leap years (divisible by 4, except centuries not divisible by 400) add February 29. The calculator handles this automatically.

What about time zones?

Days are calendar days regardless of time zone. Time differences affect hours/minutes; date calculations count calendar days.

கணக்கிடத் தயாரா? இலவச Days Between Dates கால்குலேட்டரை முயற்சிக்கவும்

நீங்களே முயற்சிக்கவும் →

அமைப்புகள்