Client APIs
API Reference Overview
Decompose a `duckdb_date` object into year, month and date (stored as `duckdb_date_struct`).  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_date_struct duckdb_from_date(
duckdb_date date
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `date`: The date object, as obtained from a `DUCKDB_TYPE_DATE` column.  
###### Return Value {#docs:api:c:api::return-value}  
The `duckdb_date_struct` with the decomposed elements.  
<br>