Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Date Range Analyzer

A simple and visual date range analyzer that compares two dates and generates a detailed report.

Description

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.

Features

  • 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

Technologies Used

HTML5 CSS3 JavaScript Nager.Date API

Usage

  1. Clone the repository:

    git clone https://github.com/Cyrus2401/date-range-analyzer.git
  2. Navigate into the project folder:

    cd date-range-analyzer
  3. Open index.html in your browser.

Live Demo

The project is available online here:

https://date-range-analyzer.vercel.app/

Project Structure

  • index.html — main user interface
  • style.css — visual styling and layout
  • script.js — calculation logic, API integration, and interactions

License

This project is licensed under the MIT License.

About

Date Range Analyzer is a modern, intuitive, and highly accurate web application designed to analyze any period between two dates in detail.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages