Has no params


Moxie.Build Time Ordered Unique Identifier which may be more suitable for transactional records and IDs than a purely random value such as a CUID or GUID.

A CTID is a 20 byte hex string and is made up of the following components:

The advantages of using a CTID over a CUID are:

The disadvantages of using a CTID over a CUID are:


[New] MyVal = Ctid$


Example back to back Ctid$ values with a Sleep 1 in between these two blocks. Spaces added for readability here are not included in actual values.

Date   Milli.   Id  Random
0223C  439D4D0  00  E3C507
0223C  439D4D0  01  C883F2
0223C  439D4D0  02  4E3A19
0223C  439D4D0  03  5263C7
0223C  439D4D0  04  61FFC2
0223C  439D4D0  05  7E81E5
0223C  439D4D0  06  579DA0
0223C  439D4DF  00  9BCD0E
0223C  439D4DF  01  F5BE4E
0223C  439D4DF  02  A1888C
0223C  439D4DF  03  4066FF
0223C  439D4DF  04  F892C9
0223C  439D4DF  05  7117A3
0223C  439D4DF  06  8F4293