method Ldt.of
The local date-time of a date and a time of day.
Example:
use std.time { LocalDateTime, TimeOfDay }
fn main() io {
print("{LocalDateTime.of(2026-11-03, TimeOfDay{ hour: 9, minute: 15 }).toIso()}")
}Output
2026-11-03T09:15:00
pub(api) static fn of(date: Date, time: TimeOfDay) -> LdtSince. 1.0.0-beta
Parameters
Returns
Ldt
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1623