nautilus_core::datetime

Function subtract_n_months

Source
pub fn subtract_n_months(dt: DateTime<Utc>, n: isize) -> Option<DateTime<Utc>>
Expand description

Subtract n months from a chrono DateTime<Utc>.