Skip to main content

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).

history:

  • stable: v0.2.9

@param date The date object, as obtained from a DUCKDB_TYPE_DATE column. @return duckdb_date_struct