Function kdb_c_api::new_time [−][src]
pub fn new_time(milliseconds: I) -> K
Expand description
Constructor of q time object. Relabeling of kt
.
Example
use kdb_c_api::*; #[no_mangle] pub extern "C" fn create_time(_: K) -> K{ // -01:30:00.123 new_time(-5400123) }
q)ancient: libc_api_examples 2: (`create_time; 1);
q)ancient[]
-01:30:00.123