Client APIs
API Reference Overview
Decompose a `duckdb_timestamp` object into a `duckdb_timestamp_struct`.  
###### Syntax {#docs:api:c:api::syntax}  
```c
duckdb_timestamp_struct duckdb_from_timestamp(
duckdb_timestamp ts
);
```  
###### Parameters {#docs:api:c:api::parameters}  
* `ts`: The ts object, as obtained from a `DUCKDB_TYPE_TIMESTAMP` column.  
###### Return Value {#docs:api:c:api::return-value}  
The `duckdb_timestamp_struct` with the decomposed elements.  
<br>