show clock

This topic explains the command that displays the switch clock, with optional time zone and daylight saving time details.

Syntax

show clock [detail]

Parameter

detail: Optional keyword that displays more detailed information about the clock.

Default

No default value.

Mode

Privileged EXEC

Usage

Use this command to show information about the clock of the switch. The detail keyword displays more information about the clock such as the time zone and daylight saving time.

Example

This example shows how to display information about the clock of the switch:

CODE
Switch# show clock
Jan 01 02:08:52 2021 (UTC+0)
Time set manually

This example shows how to display detailed information about the clock of the switch:

CODE
Switch# show clock detail
Jan 01 02:08:54 2021 (UTC+0)
Time set manually

Time zone:
Acronym is
Offset is UTC+0