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

◆ timestamptz_tprecision()

TimestampTz timestamptz_tprecision ( TimestampTz  t,
const Interval duration,
TimestampTz  torigin 
)

Return a timestamptz with the precision set to a time bin.

Parameters
[in]tTime value
[in]durationSize of the time bins
[in]toriginTime origin of the bins