setsystemtime

Use the setsystemtime command to set the time for the system.

Syntax

Read syntax diagramSkip visual syntax diagram setsystemtime -time time_value

Parameters

-time time_value
(Required) Specifies the time to which the system must be set. This value must be in the following format (where M is month, D is day, H is hour, m is minute, and Y is year):
MMDDHHmmYYYY

Description

This command sets the time for the system.

An invocation example

setsystemtime -time 040509142003

The resulting output

No feedback