Cody

Problem 2025. Find the day for a date

Created by Vivek in Community

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'

Solve the problem in the hypothetical world where 16 April 2019 happens on Saturday instead of Tuesday.

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

45.71% Correct | 54.29% Incorrect
Last solution submitted on Feb 12, 2019

Problem Comments

Solution Comments

Recent Solvers13

Suggested Problems

More from this Author3