clock
Required Command-Line Mode = Configure
Use the clock command to set the system’s local time, date, and time zone.
The clock command has the following syntax:
clock
    set <hh:mm:ss> [<yyyy/mm/dd>]
   timezone <zone> [<zone word> [<zone word> [<zone word>] [<zone word>]]clock]
The following table describes the arguments for the clock command:
| Command | Description | |||||||||||||||||||||
| set <hh:mm:ss> [<yyyy/mm/dd> | Sets the time and date for the system clock. The time must be specified but the date is optional. If you do not supply a date, it remains as currently set. | |||||||||||||||||||||
| timezone <zone> [<zone word> [<zone word> [<zone word>] [<zone word>]]] | Specifies the timezone for the local system clock. You can define the timezone as follows: 
 
 
 
 
 
 
 | 
Related Commands
The following table summarizes other commands related to the
| Task | Command | 
| Displays clock settings. | # show clock | 
| Resets the timezone to the default (GMT). | (config) # no clock timezone | 



