Managing General System Settings 311
Setting the System Time and Date Manually

Beginning in Privileged EXEC mode, use the following commands to

configure the time and date, time zone, and summer time settings.

Command Purpose
clock set {

mm/dd/yyyy

hh:mm:ss

} |
{

hh:mm:ss

mm/dd/yyyy

Configure the time and date. You can enter the time first
and then the date, or the date and then the time.
hh:mm:ss
—Time in hours (24-hour format, from 01-24),
minutes (00-59), and seconds (00-59).
mm/dd/yyyy
— Two digit month (1-12), two-digit date of
the month (01-31), and four-digit year.
clock timezone hours-
offset

hours-offset

[minutes

minutes-

offset
] [zone
acronym
]
Configure the time zone settings.
hours-offset
— Hours difference from UTC. (Range: –12 to
+13)
minutes-offset
— Minutes difference from UTC. (Range:
0–59)
acronym
— The acronym for the time zone. (Range: Up to
four characters)
clock summer-time
recurring {usa | eu |
{

week day month

hh:mm week day

month hh:mm

}}
[offset
offset
] [zone
acronym
]
Use this command if the summer time starts and ends every
year based on a set pattern.
For switches located in the United States or European
Union, use the usa or eu keywords to use the preconfigured
values. Otherwise, configure the start and end times by using
the following values:
week
— Week of the month. (Range: 1–5, first, last)
day
— Day of the week. (The first three letters by name)
month
— Month. (The first three letters by name; jan, for
example.)
hh:mm
— Time in 24-hour format in hours and minutes.
(Range: hh: 0–23, mm: 0–59)
offset
— Number of minutes to add during the
summertime. (Range:1–1440)
acronym
— The acronym for the time zone to be displayed
when summertime is in effect. (Up to four characters)