show clock

Displays the local time, date, and time zone.
Syntax
show clock [ detail ]
Parameters
detail
Displays detailed information for the system clock inlcuding the summer-time settings.
Modes

Privileged EXEC mode

Usage Guidelines

To set the local system clock you can configure the date and time using the clock set command. Use the clock timezone command to set the timezone. If the daylight savings time is different from the default timezone setting, use the optional clock summer-time command to set the time and date for the start and end of the daylight savings period.

Examples

In the following example, the local system clock time, timezone, date, and time source are displayed.

device# show clock

03:35:53.658 Mountain Wed Aug 03 2016
Time source is Set Clock

In the following example, the local system clock time, timezone, date, time source, and summer time start and end dates and times are displayed.

device# show clock detail

03:35:53.658 Mountain Wed Aug 03 2016
Time source is Set Clock
Summer time starts 02:00:00 Mountain Sun Feb 28 2016 offset 30 mins
Summer time ends 02:00:00 Mountain Sun Oct 30 2016 offset 30 mins

History
Release version Command history
08.0.50 This command was modified to display additional subsets of time zones specific to Australia and Europe and to display the optional offset value.