We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a10000 commit d3c09baCopy full SHA for d3c09ba
src/utiltime.cpp
@@ -30,13 +30,13 @@ void SetMockTime(int64_t nMockTimeIn)
30
31
int64_t GetTimeMillis()
32
{
33
- return (boost::posix_time::ptime(boost::posix_time::microsec_clock::universal_time()) -
+ return (boost::posix_time::microsec_clock::universal_time() -
34
boost::posix_time::ptime(boost::gregorian::date(1970,1,1))).total_milliseconds();
35
}
36
37
int64_t GetTimeMicros()
38
39
40
boost::posix_time::ptime(boost::gregorian::date(1970,1,1))).total_microseconds();
41
42
0 commit comments