fn now
Current UTC time (§17.3); same as the prelude now.
Example:
use std.time { now }
fn main() io, time {
print("{now().unixSeconds() > 0}")
}Output
true
@intrinsic("now") pub(api) fn now() -> Tm timeSince. 1.0.0-beta
Returns
Tm
Effects
time
Defined in: std/time/time.oxl:2118