UUID.UUIDv7
-----------

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

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [UUID](component_UUID.md) | [15.5](newinversion155.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "UUID.UUIDv7"; WithBrackets ) 

**MBS**( **"UUID.UUIDv7";** /\* Creates a new UUIDv7 and returns it as a formatted string. \*/  
**$WithBrackets**) /\* Whether to include curly brackets.  
Pass 1 if you like brackets.  
Default is 0 to disable.e.g. 0 \*/ 

### 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")  
<small>  
Example result: 0199A020-B074-7BD2-9453-1A0CDD1AFA4F</small>### See also

- [UUID.TimeFromUUIDv7](UUIDTimeFromUUIDv7.md)

### Release notes

- **Version 15.5**
    - Added [UUID.UUIDv7](https://www.mbsplugins.eu/UUIDUUIDv7.shtml) and [UUID.TimeFromUUIDv7](https://www.mbsplugins.eu/UUIDTimeFromUUIDv7.shtml) functions.

### Blog Entries

- [New in MBS FileMaker Plugin 15.5](https://www.mbsplugins.de/archive/2025-11-25/New_in_MBS_FileMaker_Plugin_15/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 15.5 für Claris FileMaker](https://www.mbsplugins.de/archive/2025-11-18/Neues_MBS_Plugin_155_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 15.5 for Claris FileMaker](https://www.mbsplugins.de/archive/2025-11-18/MBS_Plugin_155_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 15.5pr2](https://www.mbsplugins.de/archive/2025-10-08/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

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

  
[UUID.ToNumber](UUIDToNumber.md) - [UnZipFile.Close](UnZipFileClose.md)

[HTML Version](UUIDUUIDv7.shtml)