Start a conversation

Exinda CLI: Date and Time

Overview

 

This article provides information regarding the CLI command clock, which is used to configure the date and time.

You can use the clock command to manually configure the date, time, and timezone on the appliance. If you want the time to be set via NTP server, use the NTP command.

 


Information

 

NOTE:  The following syntax convention is used:
  • {}: Options are enclosed in braces and are separated by '|'
  • []: Optional keywords are enclosed in brackets
  • <>: User input is required where variables are enclosed in greater-than and less-than symbols

The following table describes the commands used for performing common actions related to clock:

 

Action Description

Command

Parameter Description
To set the appliance's time and date clock set <hh>:<mm>:<ss> [<yyyy>/<mm>/<dd>]

<hh>:<mm>:<ss> [<yyyy>/<mm>/<dd>] - If the date is not set, the time will change without affecting the date. Time adjustment is not allowed if NTP is enabled.

To set the appliance's time zone clock timezone {<region>|UTC|UTC-offset <utc-offset>}
  • <region> - Set the region. The region is specified by several keywords. For example, America North United_States Pacific, Australia Melbourne, Europe Eastern Moscow etc.
  • <utc-offset> - Set the UTC offset. Options range from UTC-9 to UTC+0 to UTC+14.

 

Note: Using these commands will force the UI to restart without a prompt.

 

Example

Set the time zone and adjust the system clock to 11:00 pm.

clock timezone Australia Melbourne 
clock set 23:00:00

 

Find more CLI commands.

Back to Top

 

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments