Skip to content

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

Notifications You must be signed in to change notification settings

MohamedKrd/Age-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages