auto current_time = std::chrono::system_clock::now();
Using std::chrono in C++ I get current time like above.
How can I use it to get the number of seconds since the clock's epoch as a double?
auto current_time = std::chrono::system_clock::now();
Using std::chrono in C++ I get current time like above.
How can I use it to get the number of seconds since the clock's epoch as a double?