OxL Reference

method Tz.node

The time zone of this node: OXL_TZ, UTC by default (§17.3).

Example:

oxl✓ checked in CI
use std.time { Tz }

fn main() io {
  print("{Tz.node().name.len() > 0}")
}
Output
true
pub(api) static fn node() -> Tz  io

Complexity. O(1).

Since. 1.0.0-beta

Returns

Tz

Effects

io

Defined in: std/time/time.oxl:754

See also