Manoj Reddy's Reference Guide

clock summer-time

To configure the system to automatically switch to summer time (daylight savings time), use one of the formats of the clock summer-time global configuration command. Use the no form of this command to configure the Cisco IOS software not to automatically switch to summer time.

clock summer-time zone recurring [weekdaymonthhh: mmweekdaymonthhh: mm [offset]]
clock summer-time zone date date month year hh : mm date month year hh : mm [offset]
clock summer-time zone date month date year hh : mm month date year hh : mm [offset]

no clock summer-time

Syntax Description

zone 

Name of the time zone (PDT,...) to be displayed when summer time is in effect.

recurring

Indicates that summer time should start and end on the corresponding specified days every year.

date

Indicates that summer time should start on the first specific date listed in the command and end on the second specific date in the command.

week 

Week of the month (1 to 5 or last ).

day 

Day of the week (Sunday, Monday,...).

date 

Date of the month (1 to 31).

month 

Month (January, February,...).

year 

Year (1993 to 2035).

hh:mm 

Time (military format) in hours and minutes.

offset 

(Optional) Number of minutes to add during summer time (default is 60).

Defaults

Summer time is disabled. If clock summer-time zonerecurring is specified without parameters, the summer time rules default to United States rules. Default of offset is 60.

Command Modes

Global configuration

Command History

ReleaseModification
10.0

This command was introduced.

Usage Guidelines

Use this command if you want to automatically switch to summer time (for display purposes only). Use the recurring form of the command if the local summer time rules are of this form. Use the date form to specify a start and end date for summer time if you cannot use the first form.

In both forms of the command, the first part of the command specifies when summer time begins, and the second part specifies when it ends. All times are relative to the local time zone. The start time is relative to standard time. The end time is relative to summer time. If the starting month is after the ending month, the system assumes that you are in the Southern Hemisphere.

Examples

The following example specifies that summer time starts on the first Sunday in April at 02:00 and ends on the last Sunday in October at 02:00:

clock summer-time PDT recurring 1 Sunday April 2:00 last Sunday October 2:00

If you live in a place where summer time does not follow the pattern in the first example, you could set it to start on October 12, 1997 at 02:00, and end on April 26, 1998 at 02:00, with the following example:

clock summer-time date 12 October 1997 2:00 26 April 1998 2:00

Related Commands

CommandDescription
calendar set Sets the system calendar.
clock timezone Sets the time zone for display purposes.

Printed for apswan@ctr.ap.nic.in on Wed Mar 5 22:32:57 PST 2003

All material in this document copyright 2000 Cisco Systems, Inc. All rights reserved. No material may be reproduced or distributed without written permission of Cisco Systems, Inc.