pub fn new_month(months: I) -> KExpand description
Create a month object from the number of months since kdb+ epoch (2000.01.01).
This is a complememtal constructor of missing month type.
ยงExample
use kdbplus::api::*;
#[no_mangle]
pub extern "C" fn create_month(_: K) -> K{
// 2010.07m
new_month(126)
}q)create_month: `libapi_examples 2: (`create_month; 1);
q)create_month[]
2010.07m