xtd
0.2.0
environment_tick_count.cpp
Shows how to use
xtd::environment::tick_count
method.
#include <xtd/console>
#include <xtd/environment>
using namespace
xtd
;
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);
}
// This code can be produce the following output :
//
// Time since boot : 8 days 18:20
Generated on Mon Oct 9 2023 14:41:56 for xtd by
Gammasoft
. All rights reserved.