1e41f4b71Sopenharmony_ci# Time Subsystem Changelog
2e41f4b71Sopenharmony_ci
3e41f4b71Sopenharmony_ci## cl.time.1 Permission Verification Adding for setTime, setDate, and setTimezone
4e41f4b71Sopenharmony_ci
5e41f4b71Sopenharmony_ciAdded permission verification for the **setTime**, **setDate**, and **setTimezone** APIs for compliance with the OpenHarmony API specifications.
6e41f4b71Sopenharmony_ci
7e41f4b71Sopenharmony_ciSpecifically:
8e41f4b71Sopenharmony_ci
9e41f4b71Sopenharmony_ci  - To call the **setTime** API, the **ohos.permission.SET_TIME** permission is required.
10e41f4b71Sopenharmony_ci  - To call the **setDate** API, the **ohos.permission.SET_TIME** permission is required.
11e41f4b71Sopenharmony_ci  - To call the **setTimezone** API, the **ohos.permission.SET_TIME_ZONE** permission is required.
12e41f4b71Sopenharmony_ci
13e41f4b71Sopenharmony_ci**Key API/Component Changes**
14e41f4b71Sopenharmony_ci
15e41f4b71Sopenharmony_ciInvolved APIs:
16e41f4b71Sopenharmony_ci
17e41f4b71Sopenharmony_ci  - systemDateTime.setTime;
18e41f4b71Sopenharmony_ci  - systemDateTime.setDate;
19e41f4b71Sopenharmony_ci  - systemDateTime.setTimezone;
20e41f4b71Sopenharmony_ci
21e41f4b71Sopenharmony_ciBefore change:
22e41f4b71Sopenharmony_ci  - No permission is required for calling the APIs in question.
23e41f4b71Sopenharmony_ci
24e41f4b71Sopenharmony_ciAfter change:
25e41f4b71Sopenharmony_ci  - The APIs can be called only after the specific permission is obtained. If the permission request is invalid or the specific permission is not obtained, **201** is returned, indicating that permission verification fails.
26e41f4b71Sopenharmony_ci
27e41f4b71Sopenharmony_ci**Adaptation Guide**
28e41f4b71Sopenharmony_ci
29e41f4b71Sopenharmony_ciTo call the **setTime**, **setDate**, and **setTimezone** APIs, an application must apply for the corresponding permission.
30