Home >

LunaSH Command Reference Guide > LunaSH Commands > sysconf > sysconf timezone

sysconf timezone

Show and set the time zone for the appliance's clock. This command allows the administrator to check and set the system time zone.

User Privileges

Users with the following privileges can perform sysconf timezone set:

Admin

Operator

Users with the following privileges can perform sysconf timezone show and sysconf timezone list:

Admin

Operator

Monitor

Syntax

sysconf timezone [set <timezone>] [show] [list <region>]

Option Shortcut Description
list [<region>] l Displays a list of accepted time zone codes and regions. Specifying a <region> parameter will produce a list of time zones associated with that region. See Setting the Time Zone for more information on correct time zone abbreviations.
set <timezone> se

Set time zone.

show sh

Shows the current time zone setting. This changes depending on whether Daylight Saving Time is in effect. See Setting the Time Zone for more information.

Example

lunash:>sysconf timezone set EST5EDT
Time zone set to EST5EDT
lunash:>sysconf timezone show
EST
 
lunash:>sysconf timezone list Kentucky
 
Available time zones:
 
posix/America/Kentucky
posix/America/Kentucky/Monticello
posix/America/Kentucky/Louisville
America/Kentucky
America/Kentucky/Monticello
America/Kentucky/Louisville
right/America/Kentucky
right/America/Kentucky/Monticello
right/America/Kentucky/Louisville
 
Command Result : 0 (Success)