MobilityDB 1.3
Loading...
Searching...
No Matches

◆ date_get_bin()

DateADT date_get_bin ( DateADT  d,
const Interval duration,
DateADT  origin 
)

Return the initial date of the bin that contains a date.

Parameters
[in]dInput date
[in]durationInterval defining the size of the bins
[in]originOrigin of the bins
Returns
On error return DATEVAL_NOEND