Use the setsystemtime command to set the time for the
system.
Syntax
setsystemtime -timetime_value
Parameters
- -timetime_value
- (Required) Specifies the time to which the system must be set. This must be in the
following format (where Mis month, Dis day,
H is hour, m is minute, and
Yis year):
MMDDHHmmYYYY
Description
This command sets the time
for the a system.
An invocation
example
setsystemtime -time 040509142003
The resulting output:
No feedback