Problem 2025. Find the day for a date
33.9% Correct | 66.1% Incorrect
Last Solution submitted on Apr 12, 2023
J.R.! Menzinger on 2 Dec 2013
I think the 22/10/1901 was a Tuesday... :-/
Vivek on 3 Dec 2013
Its not like using datestr and solving this. You need to calculate the days and divide it by 7, take the reminder and increment that many days to present day.
Gergely Patay on 5 Jun 2015
Problem statement would be much better with an additional sentence:
"Solve the problem in the hypothetical world where 16 April 2019 happens on Saturday instead of Tuesday."
Otherwise this is just lame.
Solution CommentsShow comments
Problem Recent Solvers36
Given a window, how many subsets of a vector sum positive
Check if number exists in vector
More from this Author3
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!