Problem 2025. Find the day for a date

Today's day and date will be given to you. By utilising that you need to find the day of the old date. (Date will be in DD/MM/YYYY format, Consider leap years also).




UnknownDay_Date ='19/11/2013'

So here you need to provide output as UnknownDay='Sunday'

Note: It is not like using "datestr" and finding result. You need to calculate the number of inbetween days and then find the answer.

Solution Stats

50.0% Correct | 50.0% Incorrect
Last solution submitted on Jul 20, 2015

Problem Comments

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!