Find number of days - MATLAB Cody - MATLAB Central

Problem 720. Find number of days

Difficulty:Rate
The input is two date in string format (dd-mm-yyyy), Find out the number of days between these two dates.
Example:
input: '15-jan-2000' '24-may-2012'
(if today is 24-may-2012)
output: 4509

Solution Stats

37.0% Correct | 63.0% Incorrect
Last Solution submitted on Feb 20, 2025

Problem Comments

Solution Comments

Show comments
Primes and Rough Numbers, Basic ideas
What is a rough number? What can they be used...
2
4

Problem Recent Solvers203

Suggested Problems

More from this Author11

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page