Generate a time-ordered UUID version 7.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Version 7 stores a Unix-epoch millisecond timestamp in the high bits and fills the remaining bits with randomness or a monotonic sequence, then sets version and variant bits. The canonical form is 36 hexadecimal characters with hyphens.
1
01a038f4-1227-700d-936e-44c7b8a80b9a
Event IDs, time-ordered primary keys, and log correlation generate UUID version 7 values.