Date and Time Commands
set-time
Syntax
set-time [date] [time]
Context
admin
Description
This command sets the local system time.
The time entered should be accurate for the time zone configured for the system. The system will
convert the local time to UTC before saving to the system clock which is always set to UTC. This
command does not take into account any daylight saving offset if defined.
Parameters
date — The local date and time accurate to the minute in the YYYY/MM/DD format.
time — The time (accurate to the second) in the hh:mm[:ss] format. If no seconds value is entered, the
time
Syntax
time
Context
config>system
Description
This command enables the context to configure the system time zone and time synchronization
parameters.
7210 SAS D, E, K OS Basic System Configuration Guide
Values
YYYY is the four-digit year
MM is the two-digit month
DD is the two-digit date
seconds are reset to :00.
Default
0
Values
hh is the two-digit hour in 24 hour format (00=midnight, 12=noon)
mm is the two-digit minute
System Management
Page 335