OxL Reference

method Dur.seconds

Whole seconds (truncated).

Example:

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

Since. 1.0.0-beta

Returns

i64

Effects

none declared (pure unless the body says otherwise)

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

See also