cal(1)cal(1)NAMEcal - print calendar
prints a calendar for the specified year. If a month is also speci‐
fied, a calendar just for that month is printed. If neither is speci‐
fied, a calendar for the present month is printed. year can be between
1 and 9999. month is a decimal number between 1 and 12. The calendar
produced is a Gregorian calendar.
For information about the UNIX Standard environment, see standards(5).
determines the locale to use for the locale categories when both and
the corresponding environment variable (beginning with do not specify a
locale. If is not set or is set to the empty string, a default of "C"
(see lang(5)) is used.
determines the locale for interpretation of sequences of bytes of text
data as characters (e.g., single- verses multibyte characters in argu‐
ments and input files).
determines the format and contents of the calendar.
determines the timezone used to calculate the value of the current
If any internationalization variable contains an invalid setting,
behaves as if all internationalization variables are set to "C". See
International Code Set Support
Single- and multi-byte character code sets are supported.
prints the calendar for September, 1850 on the screen as follows:
However, for UNIX Standard (see standards(5)), the output looks like
The year is always considered to start in January even though this is
Beware that refers to the early Christian era, not the 20th century.