challenges

Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.

This project is maintained by chankruze

Days between dates

You need to calculate exactly how many days have passed between two dates.

Task

Calculate how many days have passed between two input dates, and output the result.

Input Format

Two strings that represent the dates, first date should be the older date. Date format: Month DD, YYYY

Output Format

A number representing the number of days between the two dates.

Sample Input

August 15, 1979
June 15, 2018

Sample Output

14184

Explanation

14184 days have passed between the two input days.

Solutions

Language Solution
C not available
CPP not available
C# not available
Python available
Java not available
Ruby not available
Swift not available