i am trying to write a program to find the day of any date.

1 view (last 30 days)
paul Erameh
paul Erameh on 7 Dec 2021
Commented: paul Erameh on 11 Dec 2021
im trying to find the day of any month
yyyy/mm/dd
2020/12/22...tuesday....this an example
Im trying to write the code so that when i run it it would ask for input and then present the answer.

Accepted Answer

Jon
Jon on 7 Dec 2021
I think MATLAB's weekday function should do this for you, type doc weekday on the command line for details
  8 Comments

Sign in to comment.

More Answers (0)

Tags

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!