You may have seen some record keys that look a bit like this: 3mhhb2bgzs22p.
These are TIDs (Timestamp Identifiers), the most common format for record keys. They are made up of a timestamp and a clock id, and encoded in a way that you can sort and order by time.
- The timestamp is microcoseconds since the unix epoch.
- The clock ID is typically randomized, to help avoid collisions across devices.
Your challeng is to create a tid with:
- Timestamp: exactly ``
- Clock ID: ``
Hint
- In javascript: check out @atcute/tid