---
id: uuid-v7
name: Uuid.v7
category: uuid
kind: namespace-method
tokens: Uuid.v7
sig: Uuid.v7() -> string
tip: Explicit alias for Uuid.new_v7 — a time-ordered UUID.
order: 4
ns: Uuid
member: v7
---
An explicit alias for Uuid.new_v7: generates a **v7** (time-ordered) UUID whose leading bits are a millisecond timestamp so the IDs sort by creation time. Use this spelling to sit symmetrically beside Uuid.v4. Behaviour, timestamp resolution, and the determinism caveat are identical to Uuid.new_v7.
```ludic
program V7 {
entry {
let id = Uuid.v7()
if Uuid.is_valid(id) { print(1) }
}
}
```