The day of week

The day of week of any given day

You are now following this Submission

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 (2026). The day of week (https://uk.mathworks.com/matlabcentral/fileexchange/54784-the-day-of-week), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Just for fun in Help Center and MATLAB Answers

Tags

Add Tags

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Rename Title and updated