The display calendar command displays the calendar of the current month or a specified month in a specified year.
Parameter | Description | Value |
---|---|---|
month | Specifies the month for which the calendar is displayed. | The value is a character string. The values and their meanings are as follows:
|
year | Specifies the year for which the calendar is displayed. | The value is an integer that ranges from 2000 to 2099. |
After configuring the current date and time on the switch using the clock datetime command, you can run the display calendar command to view calendar information.
If no month or year is specified, the calendar of the current month is displayed by default. If only month but not year is specified, the calendar of the specified month in the current year is displayed.
# Display the calendar of the current month.
<HUAWEI> display calendar
November 2012 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 16 November 2012.
# Display the calendar of May 2008.
<HUAWEI> 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 16 November 2012.
Item |
Description |
---|---|
Sun |
Sunday |
Mon |
Monday |
Tue |
Tuesday |
Wed |
Wednesday |
Thu |
Thursday |
Fri |
Friday |
Sat |
Saturday |