Chapter 13: Getting Started (CLI)
Setting the Time and Date (Optional) (CLI)
phn-3963_004v000
Page 13-186
Setting the Time and Date (Optional) (CLI)
Related Topics:
To set the UTC time, enter the following command in root view:
root> platform management time-services utc set date-and-time <date-and-
time>
To set the local time offset relative to UTC, enter the following command in root view:
root> platform management time-services utc set offset hours-offset
<hours-offset> minutes-offset <minutes-offset>
To display the local time configurations, enter the following command in root view:
root> platform management time-services show status
Table 63 Local Time Configuration CLI Parameters
Parameter
Input Type
Permitted Values
Description
date-and-
time
Number
dd-mm-yyyy,hh:mm:ss
where:
dd = date
mm = month
yyyy= year
hh = hour
mm = minutes
ss = seconds
Sets the UTC time.
hours-offset Number
-12 – 13
The required hours offset (positive or
negative) relative to GMT. This is used
to offset the clock relative to GMT,
according to the global meridian
location.
minutes-
offset
Number
0 – 59
The required minutes relative to GMT.
This is used to offset the clock relative
to GMT, according to the global
meridian location.
Examples
The following command sets the GMT date and time to January 30, 2014, 3:07 pm and 58 seconds:
root> platform management time-services utc set date-and-time 30-01-
2014,15:07:58
The following command sets the GMT offset to 13 hours and 32 minutes: