No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Huawei Rack Server iBMC (V260 to V278) User Guide 12

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Setting the Time Zone (timezone)

Setting the Time Zone (timezone)

Function

The timezone command is used to set the time zone.

Format

ipmcset -d timezone -v <timezone>

Parameters

Parameter Description Value
timezone Time zone.

You can set the time zone by specifying either of the following:

  • Time offset

    Value range:
    • -12:00 to +14:00. For example, +8:00 or -4:30.
    • GMT-12:00 to GMT+14:00. For example, GMT+8:00 or GMT-4:30.
  • Area name

    Value range: Global time zone area names. For example, Asia/Shanghai or America/New_York.

You can run the ipmcset -d timezone -v <a> command to query the time zones supported.

Usage Guidelines

In the time zones that use daylight saving time (DST), the iBMC automatically adjusts the time one hour forward when the DST starts and adjusts the time backward to standard time when the DST ends.

Example

# Set the iBMC time zone to +8:00.

iBMC:/->ipmcset -d timezone -v +8:00
Set time zone successfully.

# Set the iBMC time zone to GMT+8:00.

iBMC:/->ipmcset -d timezone -v GMT+8:00
Set time zone successfully.

# Query the iBMC time zone.

iBMC:/->ipmcget -d time
2014-06-28 Saturday 16:43:51 GMT+08:00

# Set the iBMC time zone to Asia/Shanghai.

iBMC:/->ipmcset -d timezone -v Asia/Shanghai
Set time zone successfully.

# Query the iBMC time zone.

iBMC:/->ipmcget -d time
2017-09-06 Wednesday 16:43:51 Asia/Shanghai(GMT+08:00)
Download
Updated: 2019-06-04

Document ID: EDOC1000177670

Views: 121372

Downloads: 575

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next