https://github.com/wesfly/age-calculator
This program calculates the age of a given date
https://github.com/wesfly/age-calculator
Last synced: 4 days ago
JSON representation
This program calculates the age of a given date
- Host: GitHub
- URL: https://github.com/wesfly/age-calculator
- Owner: wesfly
- Created: 2025-02-02T16:34:27.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-09T17:06:21.000Z (4 months ago)
- Last Synced: 2025-04-04T01:41:27.559Z (2 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Age Calculator
This program calculates the age of a date.
**Please note that the days and months don't work properly yet.**## How to use
1. **Run the Script**: Save the code in a file named `age_calculator.py` and execute it using Python:
```bash
python3 age_calculator.py
```
2. **Input Your Birthdate**: When prompted, enter your birthdate in `YYYY-MM-DD` format (e.g., `2020-05-15` for May 15, 2020).
3. **Output**:
- The program will display the age in years, months, and days.**Features:**
This code provides a functional Age Calculator that is easy to understand and execute.