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

Group

Number theory Image
Number theory
  • 44 Problems
  • 21 Finishers

Problem Recent Solvers203

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