Skip to content

Python program for calculating total days between two given dates without importing libraries.

License

Notifications You must be signed in to change notification settings

akgupta1337/date_calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Date Calculator

Overview

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.

How It Works

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.

Usage

To use the Date Calculator:

  1. Open the date_calculator.py file.
  2. Modify the dob and tod variables with your desired dates in the format DDMMYYYY.
  # Example Input
  dob = "15031990"  # March 15, 1990
  tod = "01122022"  # December 1, 2022

Created On

24 October 2023

About

Python program for calculating total days between two given dates without importing libraries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages