This Time Converter is a C program that performs time conversions across regular time and standard methods, making it easier to work with seconds, minutes, and hours. The program accepts user input and converts time from regular time to standard method. It’s a lightweight and efficient tool built with C for simple and quick conversions.
- Insert your time as 'am' or 'pm'.
- Convert Seconds, Minutes, and Hours into both regular time and standard time.
- Display time in both regular time and standard time.
-
Clone the Repository:
git clone https://github.com/your-username/Time-Converter.git
-
Compile the Program:
gcc -o Time-converter Time Converter.c
-
Run the Program:
./Time converter
-
Input Options: Follow the on-screen instructions to enter the amount of time and choose the unit you want to convert.
Enter your time in hours: 5
Enter your time in minutes: 30
Enter time in seconds: 48
Enter 1 for 'am' & 2 for 'pm'
Enter your choice: 2
Result:
---------------------------------------------
------------Regular time notation------------
5 : 30 : 48 pm
------------Standard time notation-----------
17 : 30 : 48
Thank you for considering contributing to this project! Here’s how you can help:
- Reporting Issues: If you find a bug, please create an issue describing the problem and steps to reproduce it.
- Feature Requests: Feel free to suggest new features by opening an issue.
- Submitting Pull Requests: If you would like to make a change, fork the repository, make your changes, and submit a pull request. Be sure to provide a clear description of what the change does.
This Time Converter is open-source and available under the MIT License.