The day of week

The day of week of any given day
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 (2024). The day of week (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Just for fun in Help Center and MATLAB Answers
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Rename Title and updated