Function libduckdb_sys::duckdb_from_date [−][src]
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
).
date: The date object, as obtained from a DUCKDB_TYPE_DATE
column.
returns: The duckdb_date_struct
with the decomposed elements.