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

Problem 2025. Find the day for a date

Created by Vivek

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).

Example:

TodayDate='20/11/2013'

Today='Monday'

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.

Tags

Problem Group

Solution Statistics

8 correct solutions 12 incorrect solutions
Last solution submitted on Jun 27, 2014

Problem Comments