MobilityDB  1.0

◆ timestamptz_bucket_internal()

TimestampTz timestamptz_bucket_internal ( TimestampTz  timestamp,
int64  size,
TimestampTz  offset 
)

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

Parameters
[in]timestampInput timestamp
[in]sizeSize of the time buckets in PostgreSQL time units
[in]offsetOrigin of the buckets