Math

posted by .

How can I figure the number of days from one date to another? Example: How many days are from June 21 to Sept. 23? I need to do this without using a calendar.


The first thing you need to know is the number of days in each month. If you don't know this little rhyme, I urge you to memorize it.

Thirty days hath September,
April, June, and November.
All the rest have 31,
Except February, which has 28.

So -- in June, you have 30 - 21 (9) days. July and August each have 31 days. You have 23 days in September.

Now just add 9 + 31 + 31 + 23 to find the total number of days between these dates.



Thus, the number of days is 94 because, 31+31=62 & 23+9=32 and so thus adding 62+32=94.


Calculating the number of days between two dates can be done in a relatively simple 3 step process.

Lets examine a specific problem such as find the total number of days between March 16, 2001 and September 25, 2005.

1--First, calculate the number of days between the starting date, i.e., month/day/year, and the exact same month and day of the ending year from Dy = 365(Y2 - Y1) + L where Y2 and Y1 are the ending and starting years respectively and L is the number of leap year days that occur between these two assumed dates.

The total number of days between March 16, 2001 and March 16 2005 is 365(2005 - 2001) + 1 = 1461, there being only 1 leap year day in 2004.

2--Second, having that number, now calculate the number of days between the starting month and date in the ending year and the same date in the final month of the ending year from Dm = 31(M2 - M1) - Ds where M2 and M1 are the numbers representing the ending and starting months respectively and Ds is the number of days that have to be subtracted for that period between the starting and ending dates for those months that have less than 31 days. For this you need only refer to a simple chart as shown below.
Month number..1....2....3.....4.....5.....6....7....8....9....10....11....12
Month...............J....F....M....A....M....J....J....A....S....O.....N.....D
Days.................31..28...31...30...31..30...31..31...30...31...30.....31

In our example, this becomes Dm = 31(9 - 3) - 2 = 184

3--Lastly, you need only calculate the number of days between the final date and the starting date in the final month.

In our example, this becomes d = 25 - 16 = 9.

Therefore, the total number of days between March 16, 2001 and September 25, 2005 becomes 1461 + 184 + 9 = 1654.

If the final month were earlier than the starting month you would have to subtract rather than add the days between non identical months.

You can accomplish this by simply following the expression D = [365(Y2 - Y1) + L] +/- [31(M2 - M1) - Ds] +/- d.

If you were seeking the number of days between September 25, 2001 and March 16, 2005, the calculations would look like this:

D = [356(5 - 1) + 1] - [31(9 - 3) - 2] - (25 - 16) = 1461 - 184 - 9 = 1268.days.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Math - Credits & finance charges

    On the May 1 billing date, Mary had a balance due of $970.60 on her credit card. The transactions during the following month were: May 5 Payment $400.00 May 10 Charge: airline tickets $381.00 May 22 Charge: hotel $270.60 May 25 Charge: …
  2. Maths

    On the May 1 billing date, Mary had a balance due of $970.60 on her credit card. The transactions during the following month were: May 5 Payment $400.00 May 10 Charge: airline tickets $381.00 May 22 Charge: hotel $270.60 May 25 Charge: …
  3. Business Math

    Date of Note March 11, length of note 200 days, Date of discount, June 28. What is the maturity date and the discount period, no leap years, exact days
  4. math-algebra

    The Mayan Empire, which ruled Central America for centuries, had two calendars. One calendar was the same as ours, 365 days long (without leap year). The other calendar was 270 days long, the length of a woman's pregnancy. If both …
  5. math

    The Mayan Empire, which ruled Central America for centuries, had two calendars. One calendar was the same as ours, 365 days long (without leap year). The other calendar was 270 days long, the length of a woman's pregnancy. If both …
  6. chemistry

    The disintegration of a radioisotope, such as I-131 to Xe-131, is another example of a first-order reaction. It has a half-life of 8.0 days. I-131 -> Xe-131 + e If you start with 1.40 g I-131, how many grams of I-131 will be left …
  7. sat math

    At a certain hospital, 89 children were born in the month of June. If more children were born on the fifteenth of June than on any other day in June, what is the least number of children that could have been born on the fifteenth of …
  8. math

    Determne the number of days of the loan. Loan Date is Oct 20. Due Date is Dec 18. Whats the number of Days?
  9. Math

    Ansgar is writing a novel. He writes seven days a week. On each of those days he write for at least 4 hours but never more than 8 hours. Last week, he wrote for exactly 46 hours. What is the maximum number of days on which he could …
  10. Statistics

    Each day a local radio station randomly draws a date (without replacement) from a bowl containing all the days in the year. The first person who calls in with their birthday on the date drawn gets a prize. what is the probability that …

More Similar Questions