Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 1.19 KB

README.md

File metadata and controls

22 lines (19 loc) · 1.19 KB

Age-Calculator

This Python program calculates your age in days, hours, minutes, and seconds based on your birthdate

Installation

Clone the repository to your local machine: git clone https://github.com/your-username/age-calculator.git cd age-calculator

Usage

Run the program and enter your birthdate when prompted in the format YYYY-MM-DD. The program will then calculate and display your age in different units. python age_calculator.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Acknowledgments

This program utilizes Python's datetime module for date calculations.

Description:

The Age Calculator Python program allows users to input their birthdate and calculates their age in various time units up to the current date and time. It's a simple yet useful tool for understanding how much time has passed since one's birth.

Purpose:

The program serves as a practical example of using Python's datetime module for date arithmetic and handling user input. It can be used in educational contexts to demonstrate basic date calculations or as a starting point for more complex date-related applications.