CatapultServer  v0.5.0.1 (Elephant)
NetworkTime.h File Reference
Include dependency graph for NetworkTime.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 catapult
 
 catapult::utils
 

Functions

Timestamp catapult::utils::NetworkTime ()
 Returns the network time, i.e. the number of milliseconds since Epoch_Time. More...
 
Timestamp catapult::utils::ToNetworkTime (const Timestamp &timestamp)
 
Timestamp catapult::utils::ToUnixTime (const Timestamp &timestamp)
 

Variables

constexpr auto catapult::utils::Epoch_Time = std::chrono::duration<int64_t, std::milli>(1459468800000)
 Represents the number of milliseconds between 1970-01-01 00:00:00 UTC and 2016-04-01 00:00:00 UTC. More...