We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
UtilAll::currentTimeMillis
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(); }
The text was updated successfully, but these errors were encountered:
Merge pull request #39 from jovan-wong/fix-current-time
5cf60a2
[ISSUE #38] Using std::chrono to get current time stamp
Fixed.
Sorry, something went wrong.
No branches or pull requests
I send one message,but i found incorrent bornTimestamp.
requestHeader->bornTimestamp
The following unix timestamp value is what i want. But i got incorrent currentTimeMillis by UtilAll::currentTimeMillis:
UtilAll::currentTimeMillis
The text was updated successfully, but these errors were encountered: