English
English
简体中文
Register
Log In
English
English
简体中文
Register
Log In
Language
English
English
简体中文
Register
Log In

In the development of the SDK for the sweeping robot, how can the daylight saving time be correctly obtained if the target area adopts daylight saving time?

Last Updated on2025-09-01 02:57:00
To obtain daylight saving time (DST), you can directly use the uni_local_time_get interface. If the local area observes DST, the time obtained will directly reflect DST. The uni_sum_time_get can also be used to obtain DST. If you have doubts about the time obtained using the uni_local_time_get interface, you can also use uni_sum_time_get to check for consistency.

Click for services and help

Help Center