1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2014 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
6 #ifndef BITCOIN_UTILTIME_H
7 #define BITCOIN_UTILTIME_H
13 int64_t GetTimeMillis();
14 int64_t GetTimeMicros();
15 void SetMockTime(int64_t nMockTimeIn
);
16 void MilliSleep(int64_t n
);
18 std::string
DateTimeStrFormat(const char* pszFormat
, int64_t nTime
);
20 #endif // BITCOIN_UTILTIME_H