Main Content
calendar
Calendar for specified month
Description
calendar
displays a calendar for the current month in a
traditional format. The weeks run from Sunday to Saturday, with Sunday as the first
column. The display format includes a header that shows the month, year, and abbreviated
names for the days of the week.
c = calendar
returns a calendar for the current month as a 6-by-7
numeric matrix. The matrix has no header.
c = calendar(___)
returns a calendar for the
specified month as a 6-by-7 numeric matrix.
Examples
Input Arguments
Limitations
MATLAB® Online™ determines the current month from Coordinated Universal Time (UTC) rather than from local time.