duckdb_from_date

Function duckdb_from_date 

Source
pub unsafe extern "C" fn duckdb_from_date(
    date: duckdb_date,
) -> duckdb_date_struct
Expand description

Decompose a duckdb_date object into year, month and date (stored as duckdb_date_struct).

@param date The date object, as obtained from a DUCKDB_TYPE_DATE column. @return The duckdb_date_struct with the decomposed elements.