method TimeOfDay.nanosOfDay
Nanoseconds since midnight.
Example:
use std.time { TimeOfDay }
fn main() io {
print("{TimeOfDay{ hour: 1, minute: 0 }.nanosOfDay()}")
}Output
3600000000000
pub(api) fn nanosOfDay() -> i64Complexity. O(1).
Since. 1.0.0-beta
Returns
i64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1187