# Date Calculator

The Date Calculator is a simple tool that will help you with date computations with its three (3) functionalities - add, subtract and get the date duration between two dates. You can add `1 year and 3 months` or you can subtract `120 days` from a starting date. You can also get the entire duration from `January 1, 2022` to `December 31, 2030`.

🗓️ Date Calculator
⚙️ Operation Type

639 days

91 weeks

21 months

1 years

### 📅 Entire Duration (Years, Months, Week, Days)

1 year, 9 months

How many total years, months, weeks and days between `December 31, 2022` and `September 30, 2024`? There is `1` total year, `21` total months, `91` total weeks, and `639` total days. Now, if we put together the entire duration, between these dates there is `1` year, `9` months, `0` week and `0` day.

## How to Use the Date Calculator

This `Date Calculator` is really of great assistance especially if you're dealing with counting off days, months or years. Even getting the date duration between two dates is quite time-consuming counting them manually.

For instance, you want to get how many days or months are there between `March 1, 2022` up to `April 13, 2025`. Counting them from your calendar is really time consuming, but with this calculator it will just be a breeze and the results are accurate.

Another example, adding few days from a starting date is quite easy if it's just adding up 5 days or 7 days. However, if you are dealing with adding `140` days or subtracting `640` days, that's another story.

The calculator is built so that doing these three examples will be a lot easier and faster for you. You just need to select the right operation type and enter your inputs.

The calculator is grouped into three (3) parts, the first set is marked with `⚙️ Operation Type` where you can select the operation you want to perform (functionality). The second set is the main one where there's input fields and buttons. The third is the result area where it displays the outcome of the calculations.

Here's a step by step guide on how to use the `Date Calculator`:

1. Step 1

On the topmost part of the calculator, you can find the `⚙️ Operation Type` field set. It is where you need to choose from the operation options - add, subtract and duration between. If you want to add or subtract days, weeks, months and/or years, select the `add` or `subtract` radio button. In case you want to get the total days between two dates, choose the `duration between` type.

2. Step 2

After you have chosen an operation type, the next thing to do is to fill the input fields. If you have selected the `Duration Between` type, you'll need to enter the `Start Date` and the `End Date`. On the other hand, if you have selected the `Add/Subtract` type, you need to enter the `Start Date` as well as the set of input fields - years, months, weeks and days. You can leave the one's blank if it's not needed. For example, you only want to add `15` days, just enter `15` on `Days` input.

3. Step 3

The final step is to click on the `Calculate` button to get your results. You can reset the filled input fields as well by just clicking on the `Clear` button.