If you need time information in your code, verify whether you need the exact time in every case, or (for example) if accuracy to the nearest second would be sufficient.
如果确实需要时间信息,请确定是需要当前准确的时间,还是(例如)准确到最近的秒数就足够了。
They can calculate things like this to the nearest second.
对这类事情,他们的计算可精确至秒。
For example, a type that can wait only in one-second increments should round to the nearest second.
例如,只能按一秒的增量等待的类型应该舍入到最接近的秒。
For example, a type that can wait only in one-second increments should round to the nearest second.
例如,只能按一秒的增量等待的类型应该舍入到最接近的秒。
应用推荐