Skip to main content

month_start

Function month_start 

Source
pub fn month_start(rows: &[Row], now_ms: i64) -> (i64, bool)
Expand description

Start of the billing month: the most recent occurrence of the inferred anniversary day, else the first of the calendar month. Returns (start, inferred).