method i64.months
A period of this many months.
Example:
fn main() io {
print("{5.months().totalMonths()}")
}Output
5
pub(api) fn months() -> PeriodSince. 1.0.0-beta
Returns
Effects
none declared (pure unless the body says otherwise)
Defined in: std/time/time.oxl:1070