Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

UUID.UUIDv7

Creates a new UUIDv7 and returns it as a formatted string.

Component Version macOS Windows Linux Server iOS SDK
UUID 15.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "UUID.UUIDv7"; WithBrackets )   More

Parameters

Parameter Description Example
WithBrackets Whether to include curly brackets.
Pass 1 if you like brackets.
Default is 0 to disable.
0

Result

Returns text or error.

Description

Creates a new UUIDv7 and returns it as a formatted string.
UUIDv7 is a version of Universally Unique Identifier that combines a Unix timestamp with random bits, allowing for both uniqueness and sortability in high-load databases and distributed systems. It is designed to improve performance and reduce the likelihood of ID collisions compared to previous UUID versions.

Examples

Make an UUIDv7.

MBS("UUID.UUIDv7")

Example result: 0199A020-B074-7BD2-9453-1A0CDD1AFA4F

See also

Release notes

  • Version 15.5
    • Added UUID.UUIDv7 function.

Blog Entries

This function checks for a license.

Created 1st October 2025, last changed 1st October 2025


UUID.ToNumber - UnZipFile.Close