uuid contains a millisecond unix timestamp and an optional sub-millisecond fraction.
This fraction is used to construct the timestamp.
To include the sub-millisecond fraction in the returned timestamp, call
uuid_timestamp_micros.
Samples
Arguments
The syntax is:| Name | Type | Default | Required | Description |
|---|---|---|---|---|
uuid | UUID | - | ✔ | The UUID object to extract the timestamp from |
Returns
| Column | Type | Description |
|---|---|---|
uuid_timestamp | TIMESTAMPTZ | The timestamp extracted from the UUIDv7 object with millisecond precision. |