--- title: "Setting the time zone using the CLI" slug: "setting-the-time-zone-using-the-cli" updated: 2026-08-25T21:17:42Z published: 2026-08-25T21:17:42Z canonical: "docs.trellix.com/setting-the-time-zone-using-the-cli" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Setting the time zone using the CLI Use the CLI commands in this topic to set the time zone on your Central Management System appliance. Prerequisites - Admin access To set the time zone: 1. Go to CLI configuration mode: ``` hostname > enable hostname # configure terminal ``` 2. To specify the time zone, use the `clock timezone <timezone>` command. For example, both of the following commands set the time zone to Pacific Standard Time: ``` hostname (config) # clock timezone UTC-offset UT ``` ``` hostname (config) # clock timezone America North United_States Pacific ``` ### Note The time zone is for display purposes and should match other security device settings. 3. Restore the default time zone: ``` hostname (config) # no clock timezone ``` 4. View the configured time and date settings: ``` hostname (config) # show clock ``` 5. Save your changes: ``` hostname (config) # write memory ``` ### Examples Time and Date Using the North America Central Daylight Timezone ``` hostname # show clock Time:        16:39:35 Date:        2014/06/25 Time zone:   America North United_States Central             (US/Central) UFC offset: -0500 (UTC minus 5 hours) ``` Time and Date Settings Using the Default Timezone ``` hostname # show clock Time:         21:40:37 Date:         2014/06/25 Time zone:    UTC              (Etc/UTC) UTC offset:   same as UTC ``` :