1CAL(1)                           User Commands                          CAL(1)
2
3
4

NAME

6       cal - display a calendar
7

SYNOPSIS

9       cal [options] [[[day] month] year]
10

DESCRIPTION

12       cal  displays  a  simple  calendar.  If no arguments are specified, the
13       current month is displayed.
14

OPTIONS

16       -1, --one
17              Display single month output.  (This is the default.)
18
19       -3, --three
20              Display prev/current/next month output.
21
22       -s, --sunday
23              Display Sunday as the first day of the week.
24
25       -m, --monday
26              Display Monday as the first day of the week.
27
28       -j, --julian
29              Display Julian dates (days one-based, numbered from January 1).
30
31       -y, --year
32              Display a calendar for the current year.
33
34       -V, --version
35              Display version information and exit.
36
37       -h, --help
38              Display help screen and exit.
39

PARAMETERS

41       A single parameter specifies the year (1 - 9999) to be displayed;  note
42       the  year  must  be fully specified: cal 89 will not display a calendar
43       for 1989.
44
45       Two parameters denote the month (1 - 12) and year.
46
47       Three parameters denote the day (1-31), month and  year,  and  the  day
48       will  be  highlighted if the calendar is displayed on a terminal. If no
49       parameters are specified, the current month's calendar is displayed.
50
51       A year starts on Jan 1. The first day of the week is determined by  the
52       locale.
53
54       The  Gregorian  Reformation  is assumed to have occurred in 1752 on the
55       3rd of September. By this time, most countries had recognized the  ref‐
56       ormation  (although a few did not recognize it until the early 1900's).
57       Ten days following that date were eliminated by the reformation, so the
58       calendar for that month is a bit unusual.
59

HISTORY

61       A cal command appeared in Version 6 AT&T UNIX.
62

AVAILABILITY

64       The cal command is part of the util-linux package and is available from
65       ftp://ftp.kernel.org/pub/linux/utils/util-linux/.
66
67
68
69util-linux                         June 2011                            CAL(1)
Impressum