File Exchange

image thumbnail

The day of week

version 1.0.0.0 (847 Bytes) by Feng Cheng Chang
The day of week of any given day

1 Download

Updated 17 Jan 2016

View License

Find the day of week for any given date.
The trick is to put March 1st as the first day of the year. Regardless to know if the date is in the leap year or not.

Cite As

Feng Cheng Chang (2021). The day of week (https://www.mathworks.com/matlabcentral/fileexchange/54784-the-day-of-week), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Stephen Cobeldick

The inbuilt MATLAB function |weekday| does this:

http://www.mathworks.com/help/matlab/ref/weekday.html

It also has more input options, more output options, and is not a third-party file. If there is any advantage to using this submission the author has kept it secret from us.

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!