Chrono

Working with 'time' is also possible using essentials. Here is a table with essentials values for C++11 and for C++03.

The following types map between the std and the boost implementation:

essentials

C++11

C++03

sxe::time_point

std::chrono::time_point

boost::chrono::time_point

sxe::system_clock

std::chrono::system_clock

boost::chrono::system_clock

sxe::steady_clock

std::chrono::steady_clock

boost::chrono::steady_clock

sxe::seconds

std::chrono::seconds

boost::chrono::seconds

sxe::milliseconds

std::chrono::milliseconds

boost::chrono::milliseconds

sxe::duration_cast

std::chrono::duration_cast

boost::chrono::duration_cast

sxe::time_point

std::chrono::time_point

boost::chrono::time_point