Tiger Cloud: Performance, Scale, Enterprise

Self-hosted products

MST

Extract a Postgres timestamp with time zone from a UUIDv7 object.

UUIDv7 microseconds

uuid contains a millisecond unix timestamp and an optional sub-millisecond fraction. This fraction is used to construct the Postgres timestamp.

To include the sub-millisecond fraction in the returned timestamp, call uuid_timestamp_micros.

postgres=# SELECT uuid_timestamp('019913ce-f124-7835-96c7-a2df691caa98');

Returns something like:

uuid_timestamp
----------------------------
2025-09-04 10:19:13.316+02
NameTypeDefaultRequiredDescription
uuidUUID-The UUID object to extract the timestamp from

Keywords

Found an issue on this page?Report an issue or Edit this page in GitHub.