X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Futil.h;h=3ef7331df62844667ec2d34608a081acf4aafb9b;hp=e7f597765c09beec930e33b24220d89364e57abb;hb=0dd25284c30dfdbfeff9a882dd801be8cacd0859;hpb=18b5024645fdfd336589d609d4cd821ee7b66111 diff --git a/src/util.h b/src/util.h index e7f5977..3ef7331 100644 --- a/src/util.h +++ b/src/util.h @@ -370,7 +370,7 @@ inline int64_t GetPerformanceCounter() inline int64_t GetTimeMillis() { - return (boost::posix_time::ptime(boost::posix_time::microsec_clock::universal_time()) - + return (boost::posix_time::microsec_clock::universal_time() - boost::posix_time::ptime(boost::gregorian::date(1970,1,1))).total_milliseconds(); }