使用同步接口systemDateTime.getUptimehttps://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-date-time-V5\#systemdatetimegetuptime10
使用同步接口systemDateTime.getUptime
https://developer.huawei.com/consumer/cn/doc/harmonyos-references-V5/js-apis-date-time-V5\#systemdatetimegetuptime10