语言

Menu
Sites
Language
Change the system time

I would like to sync the time of our Samsung Gear S3 (Tizen 3.0) which are running in standalone mode with the local server. 

I am looking for a way to set the system time to a given date object, someting like :

setSystemTime(TZDate newDate)

It would be best if there was a way to do this  with native code, but we could run it through a Web app also.

响应

1 回复
André Reus

hi 

May be there is no api to change system time directly as per my knowledge. You can check all the time api functions of web and native and let us know if you are able to do this succesfully

1. https://developer.tizen.org/community/tip-tech/time-api-guide

2. https://developer.tizen.org/development/guides/native-application/user-interface/efl/ui-components/mobile-ui-components/datetime