pub unsafe extern "C" fn kt(milliseconds: I) -> KExpand description
Constructor of q time object.
ยงExample
use kdbplus::api::*;
use kdbplus::api::native::*;
#[no_mangle]
pub extern "C" fn create_time(_: K) -> K{
// -01:30:00.123
unsafe{kt(-5400123)}
}q)ancient: libc_api_examples 2: (`create_time; 1);
q)ancient[]
-01:30:00.123