Enter the starting and ending years, months, and days into the calculator to determine the total number of days between two dates.

## Relationship Date Formula

The following formula is used to calculate the number of days between two dates.

D = (Y2 - Y1) * 365 + (M2 - M1) * 30 + (D2 - D1)

Variables:

- D is the total number of days between two dates Y1 and Y2 are the starting and ending years, respectively M1 and M2 are the starting and ending months, respectively D1 and D2 are the starting and ending days, respectively

To calculate the number of days between two dates, subtract the starting year from the ending year and multiply the result by 365. Then, subtract the starting month from the ending month and multiply the result by 30. Finally, subtract the starting day from the ending day. Add all these results together to get the total number of days between the two dates.

## How to Calculate Relationship Date?

The following steps outline how to calculate the Relationship Date using the given formula:

- First, determine the starting year (Y1).
- Next, determine the ending year (Y2).
- Next, determine the starting month (M1).
- Next, determine the ending month (M2).
- Next, determine the starting day (D1).
- Finally, determine the ending day (D2).
- Using the formula D = (Y2 – Y1) * 365 + (M2 – M1) * 30 + (D2 – D1), calculate the total number of days between the two dates.
- After inserting the variables and calculating the result, check your answer with the calculator above.

**Example Problem:**

Use the following variables as an example problem to test your knowledge:

Starting year (Y1) = 2020

Ending year (Y2) = 2022

Starting month (M1) = 6

Ending month (M2) = 9

Starting day (D1) = 15

Ending day (D2) = 25