diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-time.md b/zh-cn/application-dev/reference/apis/js-apis-system-time.md
index b2389c5b57ddc4471e5c53894b49eb2771fef593..2d635dd93f5a3a10cf5850ec384adbe8fdc48fe7 100644
--- a/zh-cn/application-dev/reference/apis/js-apis-system-time.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-system-time.md
@@ -416,9 +416,9 @@ setTimezone(timezone: string): Promise<void>
```
-## systemTime.getTimeZone8+
+## systemTime.getTimezone8+
-getTimeZone(callback: AsyncCallback<string>): void
+getTimezone(callback: AsyncCallback<string>): void
获取系统时区,使用callback形式返回结果。
@@ -432,19 +432,19 @@ getTimeZone(callback: AsyncCallback<string>): void
- 示例:
```
- systemTime.getTimeZone((error, data) => {
+ systemTime.getTimezone((error, data) => {
if (error) {
- console.error(`failed to systemTime.getTimeZone because ` + JSON.stringify(error));
+ console.error(`failed to systemTime.getTimezone because ` + JSON.stringify(error));
return;
}
- console.log(`systemTime.getTimeZone success data : ` + JSON.stringify(data));
+ console.log(`systemTime.getTimezone success data : ` + JSON.stringify(data));
});
```
-## systemTime.getTimeZone8+
+## systemTime.getTimezone8+
-getTimeZone(): Promise<string>
+getTimezone(): Promise<string>
获取系统时区,使用Promise形式返回结果。
@@ -458,9 +458,9 @@ getTimeZone(): Promise<string>
- 示例:
```
- systemTime.getDate().then((data) => {
- console.log(`systemTime.getTimeZone success data : ` + JSON.stringify(data));
+ systemTime.getTimezone().then((data) => {
+ console.log(`systemTime.getTimezone success data : ` + JSON.stringify(data));
}).catch((error) => {
- console.error(`failed to systemTime.getTimeZone because ` + JSON.stringify(error));
+ console.error(`failed to systemTime.getTimezone because ` + JSON.stringify(error));
});
```