Quick Answer: To calculate the gap between two dates, convert both to a common unit, subtract the earlier from the later, then adjust for month lengths, leap years and whether the end date is counted. For time, convert everything to minutes or seconds first, then subtract and convert back to hours and minutes.
Key takeaways:
- Decide first whether the start or end day is counted.
- Months have 28 to 31 days, so borrow carefully.
- Leap years add one day to February every four years.
- Indian dates follow the April to March financial year.
- Use IST (UTC+5:30) as your base when comparing time zones.
Why date and time maths feels harder than it looks
Adding two numbers is easy. Adding 60 days to 10 October is not. Months are uneven, years sometimes have 366 days, and a day can be counted in two different ways. That is why even careful people make small errors when they work out a notice period or a due date.
In India these small errors can cost money. A missed ITR date brings a late fee. A wrong last working day can affect your full and final settlement. A wrong count of days on a loan changes the interest you pay.
This guide shows a simple, repeatable method. You will learn how to find the difference between two dates, how to add days to a date, and how to handle hours and minutes. Every step uses plain arithmetic that you can do on paper or check with a date and time calculator.
The basic building blocks
Before you start, keep these facts in mind.
- One week has 7 days.
- A normal year has 365 days. A leap year has 366 days.
- February has 28 days, or 29 in a leap year such as 2028.
- April, June, September and November have 30 days. The rest have 31, except February.
- One day has 24 hours, one hour has 60 minutes, and one minute has 60 seconds.
A simple rhyme helps with month lengths: thirty days have September, April, June and November. Everything else has 31, apart from February.
Inclusive and exclusive counting
This is the biggest source of mistakes. If you count from 1 April to 3 April, are there 2 days or 3 days? Exclusive counting gives 2, because you only count the steps between the dates. Inclusive counting gives 3, because you also count the start day.
Most legal and bank documents say how they count. When they do not, ask. For a rent agreement, a day is usually counted inclusively. For interest, banks usually count the days between dates, so the end day is excluded.
Step by step: the difference between two dates
- Write the earlier date (start) and the later date (end).
- Subtract the years, then the months, then the days.
- If the day result is negative, borrow the number of days from the previous month.
- If the month result is negative, borrow 12 months from the year.
- Add 1 day if you need inclusive counting.
The borrowing step is where people slip. When you borrow, always use the length of the month just before the end date, not the start month.
Worked example 1: age in years, months and days
Riya was born on 14 March 1995. How old is she on 9 October 2026?
- Years: 2026 minus 1995 = 31
- Months: October (10) minus March (3) = 7
- Days: 9 minus 14 = minus 5, which is negative
Borrow one month. That leaves 6 months. The previous month before October is September, which has 30 days. So the days become 30 minus 5 = 25.
Riya is 31 years, 6 months and 25 days old. You can check this. From 14 March 2026 to 14 September 2026 is 6 months. From 14 September to 9 October is 16 days left in September plus 9 days in October, which is 25 days. The answer matches.
Key takeaway: When the day result is negative, borrow from the month just before the end date, and always verify by counting forward from the start.
Step by step: adding days to a date
Adding days is the second most common task. You need this for notice periods, warranty ends, loan due dates and FD maturity. The method is a countdown.
- Start with the start date and the number of days to add.
- Find how many days remain in the current month. Subtract that from the total.
- Move to the next month and subtract its full length, as long as the remaining total is larger than that month.
- When the remaining total is smaller than or equal to the month length, that number is your day of the month.
Worked example 2: last working day for a 60-day notice period
Arjun resigns on 10 October 2026. His notice period is 60 days. Which date is his last day?
- Days left in October after the 10th: 31 minus 10 = 21. Remaining: 60 minus 21 = 39
- November has 30 days. Remaining: 39 minus 30 = 9
- The remaining 9 days fall in December, so the date is 9 December 2026
His notice ends on 9 December 2026. If his offer letter says the day of resignation counts as day one, the end date becomes 8 December 2026. Check the exact wording in your contract before you plan your joining date elsewhere.
Also remember that Indian companies often count calendar days, not working days. Weekends and holidays inside the notice period are usually included, unless your HR policy says otherwise.
Step by step: hours and minutes
Time works like dates, but with 60 instead of 30 or 31. The easiest method is to convert to minutes.
- Convert each time to minutes since midnight (hours times 60, plus minutes).
- Subtract the earlier time from the later time.
- Convert back: divide by 60 for hours, and the remainder is minutes.
- If the end time is on the next day, add 1,440 minutes (24 hours times 60) to the end time first.
Worked example 3: a night shift and a Dubai call
Meena starts a night shift at 10:30 PM and ends at 7:15 AM the next day. How long is the shift?
- Start: 22:30 = 22 times 60 + 30 = 1,350 minutes
- End: 07:15 = 7 times 60 + 15 = 435 minutes. Add 1,440 for the next day: 1,875 minutes
- Difference: 1,875 minus 1,350 = 525 minutes
- 525 divided by 60 = 8 hours with 45 minutes left over
The shift is 8 hours 45 minutes. If she takes a 45-minute break, she works 8 hours.
Now time zones. India Standard Time (IST) is UTC+5:30 all year. India has no daylight saving. Dubai is on UTC+4. So Dubai is 1 hour 30 minutes behind IST. A meeting at 3:30 PM IST is 2:00 PM in Dubai.
Quick reference table
| Task | Method | Example |
|---|---|---|
| Days between dates | Subtract, borrow month length | 1 Apr 2026 to 31 Mar 2027 = 364 days (365 inclusive) |
| Add days | Countdown month by month | 10 Oct 2026 + 60 days = 9 Dec 2026 |
| Hours between times | Convert to minutes, subtract | 10:30 PM to 7:15 AM = 8 h 45 min |
| Time zone shift | Add or subtract UTC offset | 3:30 PM IST = 2:00 PM Dubai |
Indian dates you will often calculate
Indian taxpayers and employees work with fixed cycles. Knowing them makes your counting easier.
- The Indian financial year runs from 1 April to 31 March. The financial year 2026-27 has 365 days.
- The ITR due date for most salaried individuals without an audit is usually 31 July, as listed on incometax.gov.in.
- Advance tax instalments fall on 15 June, 15 September, 15 December and 15 March.
- GSTR-3B for regular monthly filers is generally due on the 20th of the next month, as published on gst.gov.in.
Due dates can be extended by notification, so always check the official portal before you rely on a date from memory. If you are calculating money across time, our time value of money calculator helps you see how days and years change the value of a rupee.
Benefits of knowing the manual method
- You can sanity check any online tool and spot an obvious mistake.
- You understand why two counts differ by one day.
- You can plan notice periods, leave and filing dates without waiting for software.
- It builds confidence when you read agreements with date clauses.
- It helps you explain your numbers to HR, a CA or a bank officer.
Challenges and limitations
Manual calculation is slow for long ranges. Counting 5 years of days by hand invites errors, especially with leap years. It also does not know about public holidays, which differ by state. Gazetted holidays in Maharashtra are not the same as those in Tamil Nadu.
Time zones add more risk. Countries change their daylight saving rules, but India does not. When you compare IST with a place that does, the gap changes during the year. Finally, different documents use different counting rules, and no formula can guess which one applies to you.
Common mistakes
- Forgetting inclusive counting. Many people give an answer that is one day short for a rent or leave period.
- Using 30 days for every month. This adds up to errors of several days over a year.
- Ignoring leap years. A range crossing 29 February 2028 has one extra day.
- Borrowing from the wrong month. Use the month before the end date.
- Mixing 12-hour and 24-hour time. 12:30 AM and 12:30 PM are 12 hours apart.
- Assuming everyone shares IST. Always state the zone when you share a meeting time.
Best practices
- Write the counting rule next to your answer, such as inclusive or exclusive.
- Check your result by counting forward from the start date.
- Use calendar days unless the document says working days.
- Add a buffer of two or three days before any tax or loan deadline.
- Confirm due dates on the official portal, such as incometax.gov.in or gst.gov.in.
- Use a trusted calculator for long ranges and keep the manual method for quick checks.
Conclusion
Date and time calculation is a skill built on four ideas: pick a counting rule, handle month lengths, remember leap years, and convert time to minutes. Once you follow these steps, notice periods, due dates and shift timings become easy to work out. Practise with the three examples above, then confirm your answers with a tool so you build trust in your own method.
- Try the free Date and Time Calculator →
- Date and Time Calculation Formula Explained with Examples
- What Is a Date and Time Calculator? A Simple Guide
- Date and Time Calculator: Free Online Tool and Guide
- Date and Time Calculator Examples for Beginners
- How to Calculate Age (Step by Step) – India Guide
- Date Difference Examples for Beginners (India)
- More Date & Time guides
Frequently Asked Questions
How do I calculate the number of days between two dates?
Subtract the earlier date from the later one, borrowing the month length when the day result is negative. Then add 1 if you want to count both the start and end day. Check by counting forward.
Does a 60-day notice period include weekends?
In most Indian companies, yes. Notice periods usually count calendar days, so Saturdays, Sundays and holidays are included. Your offer letter or HR policy has the final say.
Does India have daylight saving time?
No. IST stays at UTC+5:30 throughout the year. Only the other country changes, so the time gap with places that use daylight saving can shift by an hour.
How many days are there in the Indian financial year?
The financial year runs from 1 April to 31 March. It has 365 days, or 366 days if it contains 29 February, as in 2027-28.
Why does my answer differ by one day from an online tool?
The usual reason is inclusive versus exclusive counting. Some tools count the start day and some do not. Match the rule used in your document.