OxL Reference

method Hlc.millis

The wall-clock part, ms since the Unix epoch.

Example:

oxl✓ checked in CI
fn main() io {
  print("{cluster.now().millis() > 1700000000000}")
}
Output
true
pub(api) fn millis() -> i64

Complexity. O(1).

Since. 1.0.0-beta

Returns

i64

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/node.oxl:712

See also