system_time_now
function · ferroui-base · v0.5.0
fn system_time_now() -> std::time::SystemTime
The current instant: the time of the pinned source of this thread
(DateTime::set_utc_now_provider) when there is one, else the wall
clock of the registered IRuntimePlatform, else the one of the
standard runtime platform.
Code that can run in the browser reads "now" here rather than with
SystemTime::now(), which wasm32-unknown-unknown does not have: the
runtime platform of the browser reads Date.now().
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.