-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
I send one message,but i found incorrent bornTimestamp.
requestHeader->bornTimestamp
requestHeader->bornTimestamp = UtilAll::currentTimeMillis();The following unix timestamp value is what i want. But i got incorrent currentTimeMillis by UtilAll::currentTimeMillis:
current time:2018/12/25 19:41:53
unix timestamp:1545738113705
result of UtilAll::currentTimeMillis:70913705
uint64_t UtilAll::currentTimeMillis() {
boost::posix_time::ptime current_date_microseconds =
boost::posix_time::microsec_clock::local_time();
return current_date_microseconds.time_of_day().total_milliseconds();
}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working