display clock

Use display clock to display the system time, date, local time zone, and daylight saving time.

Syntax

display clock

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Examples

# Display the system time and date when the local time zone is not specified.

<Sysname> display clock
10:09:00 UTC Fri 03/16/2015

# Display the system time and date when the local time zone Z5 is specified.

<Sysname> display clock
15:10:00 Z5 Fri 03/16/2015
Time Zone : Z5 add 05:00:00

# Display the system time and date when the local time zone Z5 and daylight saving time PDT are specified.

<Sysname> display clock
15:11:00 Z5 Fri 03/16/2015
Time Zone : Z5 add 05:00:00
Summer Time : PDT 06:00:00 08/01 06:00:00 09/01 01:00:00

Related commands

clock datetime

clock summer-time

clock timezone