Function kdb_c_api::new_date [−][src]
pub fn new_date(days: I) -> K
Expand description
Constructor of q date object. Relabeling of kd
.
Example
use kdb_c_api::*; #[no_mangle] pub extern "C" fn create_date(_: K) -> K{ // 1999.12.25 new_date(-7) }
q)nostradamus: `libc_api_examples 2: (`create_date; 1);
q)nostradamus[]
1999.12.25