Shows how to use xtd::environment::tick_count method.
#include <xtd/console>
#include <xtd/environment>
auto main() -> int {
auto time_since_boot = environment::tick_count();
console::write_line("Time since boot : {0:d} days {0:h}:{0:M}", time_since_boot);
}
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10