1# Time Subsystem Changelog
2
3## cl.time.1 Permission Verification Adding for setTime, setDate, and setTimezone
4
5Added permission verification for the **setTime**, **setDate**, and **setTimezone** APIs for compliance with the OpenHarmony API specifications.
6
7Specifically:
8
9  - To call the **setTime** API, the **ohos.permission.SET_TIME** permission is required.
10  - To call the **setDate** API, the **ohos.permission.SET_TIME** permission is required.
11  - To call the **setTimezone** API, the **ohos.permission.SET_TIME_ZONE** permission is required.
12
13**Key API/Component Changes**
14
15Involved APIs:
16
17  - systemDateTime.setTime;
18  - systemDateTime.setDate;
19  - systemDateTime.setTimezone;
20
21Before change:
22  - No permission is required for calling the APIs in question.
23
24After change:
25  - 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.
26
27**Adaptation Guide**
28
29To call the **setTime**, **setDate**, and **setTimezone** APIs, an application must apply for the corresponding permission.
30