fn now
Current UTC time (§17.3).
Example:
fn main() io, time {
let t = now()
print("{t.unixSeconds() > 1700000000}")
}Вывод
true
@intrinsic("now") pub(api) fn now() -> Time timeС версии. 1.0.0-beta
Возвращает
Эффекты
time
Определено в: std/core/functions.oxl:73