show clock

Returns the local time, date, and time zone.

Syntax

show clock

Command Default

The local clock is used.

Modes

Privileged EXEC mode

Usage Guidelines

The command displays the current time for the device.

Examples

The following example shows the clock time.

device# show clock
2017-02-28 17:58:30 Etc/GMT