Function kdb_c_api::new_second [−][src]
pub fn new_second(seconds: I) -> K
Expand description
Create a month object. This is a complememtal constructor of missing second type.
Example
use kdb_c_api::*; #[no_mangle] pub extern "C" fn create_second(_: K) -> K{ // -02:00:00 new_second(-7200) }
q)third: `libc_api_examples 2: (`create_second; 1);
q)third[]
-02:00:00