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

Learn moreOpportunities for recent engineering grads.

Apply TodayToday'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.

12 correct solutions
12 incorrect solutions

Last solution submitted on Jul 20, 2015

1 player likes this problem

3 Comments