clock set

Sets the clock date and time.

Syntax

clock set date - time

Parameters

set date - time
Sets the clock date and time.

Modes

Exec mode

Usage Guidelines

This command is available only to users with the admin role.

Examples

The following example configures clock date and time.

device# clock set 
TIME dateTime (CCYY-MM-DDTHH:MM:SS)

device# clock set 23423423-23-21T23:00:00 
Failed to parse time specification: 23423423-23-21 23:00:00