Welcome to the Date Calculator repository! This simple Python script date_calculator.py allows you to calculate the total number of days between two given dates without importing any external libraries.
The date_calculator.py script takes two dates as input: dob (date of birth) and tod (today's date), in the format DDMMYYYY. It then computes the total number of days between them, including both the start and end dates.
To use the Date Calculator:
- Open the date_calculator.py file.
- Modify the
dobandtodvariables with your desired dates in the formatDDMMYYYY.
# Example Input
dob = "15031990" # March 15, 1990
tod = "01122022" # December 1, 202224 October 2023