c++ - how can I set system time from system_time::time_point -


how can set system time of platform (windows, linux, android) std::chrono::system_time::time_point.

you cannot use std::chrono facilities set time of clocks. best can manufacture std::chrono::system_clock::time_point represent chosen time, convert time_t , use along platform's api set clock.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -