Calculate days until Christmas - MATLAB Cody - MATLAB Central

Problem 45207. Calculate days until Christmas

Difficulty:Rate

Provided with inputs year, month, day e.g. 2019,11,12, calculate the number of days until the next Christmas day, i.e. the next time it will be December 25

Solution Stats

33.26% Correct | 66.74% Incorrect
Last Solution submitted on Mar 12, 2025

Problem Comments

Solution Comments

Show comments

Group

The Prime Directive Image
The Prime Directive
  • 14 Problems
  • 36 Finishers

Problem Recent Solvers263

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