The display calendar command displays the calendar of the current month or a specified month in a specified year.
| Parameter | Description | Value |
|---|---|---|
| month | Displays the calendar of the specified month. | The value is a string of characters. All possible
values and their meanings are as follows:
|
| year | Displays the calendar of the specified year. | The value is an integer ranging from 2000 to 2099. |
If no month and year are specified, the calendar of the current month is displayed by default.
If only the month is specified, the calendar of the specified month in this year is displayed.
# Display the calendar of the current month.
<sysname> display calendar
December 2014
Sun Mon Tue Wed Thu Fri Sat
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 29 30 31
Today is 2 December 2014.
# Display the calendar of the specified month (April) in this year.
<sysname> display calendar Apr
April 2014
Sun Mon Tue Wed Thu Fri Sat
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 29 30
Today is 2 December 2014.
# Display the calendar of the specified month (May) in the specified year (2008).
<sysname> display calendar May 2008
May 2008
Sun Mon Tue Wed Thu Fri Sat
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 29 30 31
Today is 2 December 2014.
Item |
Description |
|---|---|
Sun |
Sunday |
Mon |
Monday |
Tue |
Tuesday |
Wed |
Wednesday |
Thu |
Thursday |
Fri |
Friday |
Sat |
Saturday |