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

◆ timestamptz_get_bin()

TimestampTz timestamptz_get_bin ( TimestampTz  t,
const Interval duration,
TimestampTz  origin 
)

Return the initial timestamp of the bin that contains a timestamptz.

Parameters
[in]tInput timestamp
[in]durationInterval defining the size of the bins
[in]originOrigin of the bins