A simple and visual date range analyzer that compares two dates and generates a detailed report.
Date Range Analyzer is a static web application that calculates the duration between two dates and provides detailed insights about the selected period. It is designed for users who want to quickly evaluate a time range: total duration, breakdown of weekdays/weekends, official public holidays, time unit conversions, and calendar details.
- Date range analysis with output in years, months, and days
- Calculation of working days and weekends within the range
- Retrieval of official public holidays by country using the Nager.Date API
- Automatic conversion into months, weeks, hours, and minutes
- Display of start and end weekdays
- Identification of leap years within the selected period
-
Clone the repository:
git clone https://github.com/Cyrus2401/date-range-analyzer.git
-
Navigate into the project folder:
cd date-range-analyzer -
Open
index.htmlin your browser.
The project is available online here:
https://date-range-analyzer.vercel.app/
index.html— main user interfacestyle.css— visual styling and layoutscript.js— calculation logic, API integration, and interactions
This project is licensed under the MIT License.