MobilityDB 1.1

◆ timestamptz_bucket1()

TimestampTz timestamptz_bucket1 ( TimestampTz  t,
int64  size,
TimestampTz  origin 
)

Return the initial timestamp of the bucket in which a timestamp falls.

Parameters
[in]tInput timestamp
[in]sizeSize of the time buckets in PostgreSQL time units
[in]originOrigin of the buckets