Function kdb_c_api::days_to_ymd[][src]

pub fn days_to_ymd(days: I) -> I
Expand description

Convert the number of days from 2000.01.01 to a number expressed as yyyymmdd.

Example

use kdb_c_api::*;
 
fn main(){
 
  let number=days_to_ymd(7396);
  assert_eq!(number, 20200401);
 
}