Math

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.

  1. 👍 0
  2. 👎 0
  3. 👁 88
asked by Phillip

Respond to this Question

First Name

Your Response

Similar Questions

  1. math

    If the exponential equation of best fit is y= 2.9046(1.9798)^x, when will the population be more than 13 million? How would I figure this out? I already determined the population in 30 days was 2,299,989,909 which is quite far

    asked by Carly on December 2, 2017
  2. Maths

    Principal - 6000 Rate - 5% Effective Date - May 15 Maturity Date - November 1 Partial Payment Amount - $1500 Partial Payment Date -August 15 Also Answer the following questions: 1. NUMBER OF DAYS BETWEEN EFFECTIVE DATE AND PARTIAL

    asked by Kim on March 10, 2008
  3. math

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

    asked by Dawn on December 6, 2013
  4. SQL

    1. How do you display letters in uppercase in access? how do you display in lowercase in access? 2. how do you round a number to a spisfic number of decimal places in access? how do you remove everything to the right of the

    asked by paul on May 9, 2012
  5. Logic

    Draw a flowchart for a program that reads a date in an 8-digit sequence (month, day, year) and determines if the date is a valid date. ignore leap year. Assume Feb has 28 days, and establish a table of days in a month so that you

    asked by Jack on November 4, 2012
  6. Business Math

    Using the dating method, calculate the discount date and the net date. Unless otherwise specified, the net date is 20 days after the discount date: The date of invoice is April 6th, Terms of sale is 2/10, EOM. What is the Discount

    asked by Tammy on December 5, 2014
  7. FINANCE

    Many creditors of your firm offer early payment discounts. The accounts payable supervisor does not believe in paying early “as the bank overdraft rate of j12 = 8% pa is more than the average 2% offered for payment within 10

    asked by Anonymous on March 27, 2014
  8. 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

    asked by Kathy on May 4, 2010
  9. Math - Steve

    I posted this question yesterday that you answered, so thank you, but how do I put this in my calculator to get this answer? If the exponential equation of best fit is y= 2.9046(1.9798)^x, when will the population be more than 13

    asked by Carly on December 3, 2017
  10. statistics

    Based on data from the National Center for Health Statistics, N. Wetzel used the normal distribution to model the length of gestation for pregnant US woman ( Chance, Spring 2001). Gestation length has mean of 280 days with a

    asked by lindsey on March 17, 2013

More Similar Questions