Global Configuration Mode Command Set
61200630L1-35C
31
clock
Purpose
Use the clock command to set the date and time on the system clock.
Syntax Description
displays the syntax descriptions for the clock command.
Default Values
The clock command has no default values.
Command Modes
The Global Configuration Mode is required for this command.
Usage Examples
Set the time to 15:30:00.
TA238(config)#clock time 15:30:00
Set the date to 07/20/05.
TA238(config)#clock date 07/20/05
Table 13. Syntax Description for clock
Syntax
Description
date mm/dd/yy
Sets the date on the system clock.
time hh:mm:ss
Sets the time on the system clock.