mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Timestamp.cpp added
This commit is contained in:
parent
7a51407f6d
commit
315f672254
6 changed files with 17 additions and 2 deletions
|
@ -8,6 +8,8 @@ namespace i2p
|
|||
{
|
||||
namespace util
|
||||
{
|
||||
extern std::chrono::system_clock::duration g_TimeOffset;
|
||||
|
||||
inline uint64_t GetMillisecondsSinceEpoch ()
|
||||
{
|
||||
return std::chrono::duration_cast<std::chrono::milliseconds>(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue