Skip to content

datasharp/time_duration_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Duration Calculator CLI Tool

A command-line tool for calculating the duration between two times.

How to Install

To install the Time Duration Calculator CLI Tool, follow these steps:

  1. Clone the Repository:
    First, clone the repository to your local machine using the following command:

    git clone https://github.com/your-username/time-duration-calculator.git
    
  2. Navigate into the Project Directory:

    cd time-duration-calculator
    
  3. Install the Dependencies:

    pip install .
    
  4. Run the Tool:

    timediff 8:30 AM 10:22 PM
    

Features

  • Default to PM: Assumes PM is specified for both periods unless otherwise stated.

Upcoming Features

  • Case-Insensitive AM/PM Input: Will accept both uppercase and lowercase for AM/PM (e.g., 8:30 am or 8:30 AM).
  • Start/End Time Capture: Will provide an option to start a timer and later capture the end time, calculating the duration between them.

Example Usages

Basic Usage with AM/PM

python time_duration.py 8:30 AM 10:22 PM

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages