Skip to content

precision/identifiers

  • The core functions, which every industry uses.
  • fromKsuid: Read the instant a KSUID carries (segmentio/ksuid, ksuid.go and base62.go).
  • fromObjectId: Read the creation second a MongoDB ObjectId carries (mongodb/specifications bson-objectid/objectid.md, § Specification and § Timestamp Field).
  • fromSnowflake: Read the instant a Snowflake id carries, using a layout the caller supplies.
  • fromUlid: Read the instant a ULID carries (ulid/spec README, § Components and § Canonical String Representation).
  • fromUuidTimestamp: Read the instant a version 1, 6 or 7 UUID carries (RFC 9562 §5.1, §5.6, §5.7).
  • ulidTimestampPrefix: The first 10 characters of every ULID minted in the same millisecond as an instant, for range scans over stored ULID text (ulid/spec README, § Components and § Encoding).
  • uuidV7TimestampPrefix: The first 13 characters of every version 7 UUID minted in the same millisecond as an instant, for range scans over stored UUID text (RFC 9562 §5.7, §6.11).

Last updated:

© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.