Home
last modified time | relevance | path

Searched refs:diffSec (Results 1 – 1 of 1) sorted by relevance

/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_base.cpp70 time_t diffSec = mktime(&tmLocal) - mktime(&tmUtc); in GetTimeInfo() local
71 ss << "\"tz_\":\"" << ((diffSec < 0) ? "-" : "+"); in GetTimeInfo()
73 int tzHour = std::abs(diffSec) / SEC_TO_HOUR; in GetTimeInfo()
78 int tzMin = (std::abs(diffSec) % SEC_TO_HOUR) / SEC_TO_MIN; in GetTimeInfo()