OxL Reference

method Dur.millis

Whole milliseconds (truncated).

Example:

oxl✓ checked in CI
fn main() io {
  print("{2s.millis()}")
}
Output
2000
pub(api) fn millis() -> i64

Since. 1.0.0-beta

Returns

i64

Effects

none declared (pure unless the body says otherwise)

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

See also