method Date.weekday
The day of the week.
Example:
fn main() io {
print("{2026-11-03.weekday()}")
}Output
Tue
pub(api) fn weekday() -> WeekdaySince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1374