# cal macro

The UNIX cal macro executes the UNIX cal command.

**For Windows:**Not Supported

## Syntax

```
cal {{month} year}
```

## Parameter(s)

| month | Month of the year, and must be a number between 1 and 12, inclusive. If a month is specified, only the calendar for the given month displays. |
| --- | --- |
| year | Year for the calendar, in either two or four digits. |

## Example(s)

```
cal

February 2003
Su Mo Tu We Th Fr Sa
 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
```

---
Source: https://d3codex.com/tcl/cal-macro/ - part of the D3Codex reference.
