Command: cal
CAL is a tiny (900 bytes) command line calendar.
Syntax:
cal With no arguments, displays a calendar for the current
month. Today's date will be marked with an asterisk.
cal m/y Generate a calendar for a specific month. m is the month,
1 to 12. y is the year, 1753 to 2399. If it's less than
100, 2000 will be added.
cal y Generate a calendar for an entire year. If output is not
redirected, CAL will pause after June.
mm the month you want to see (2 digits)
yyyy the year you want to see (4 digits)
Options:
cal /? Shows the help.
Comments:
CAL is a low-fat calendar program. CAL won't display pretty colors or
remind you of appointments. What it will do is generate simple
calendars for any month or year from 1753 through 2399, accurately and
with a decent minimum of code. Output may be redirected. Only
Gregorian (New Style) is supported; this is not a port of the UNIX cal.
Examples:
cal shows the actual month, actual date is marked with an
asterisk.
cal 04/1959 shows April 1959.
cal 1959 shows all months of the year 1959.
See also:
date
time
Copyright © 1998 Charles Dye, help version 2022 W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.