method Date.lengthOfMonth
Days in this date's month.
Example:
use std.time { Date }
fn main() io {
print("{Date.of(2028, 2, 10)!.lengthOfMonth()}")
}Output
29
pub(api) fn lengthOfMonth() -> i64Since. 1.0.0-beta
Returns
i64
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1416