OxL Reference

method TimeOfDay.show

The time in ISO 8601 form.

Example:

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

fn main() io {
  print(TimeOfDay{ hour: 18, minute: 5 }.show())
}
Output
18:05:00
pub(api) fn show() -> str

Since. 1.0.0-beta

Returns

str

Effects

none declared (pure unless the body says otherwise)

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

See also