How to find the difference between time_point<utc_clock> and time_point<system_clock>?
I have the following code:
1 2 3
|
auto utc_now = chr::utc_clock::now();
auto now = chr::system_clock::now();
auto dif = now - utcNow; // does not compile
|
how to compare between one time_point to another when we use different clocks?
Regards
Topic archived. No new replies allowed.