CUID to timestamp

Read the timestamp field in a CUID v1. CUID2 has no timestamp to extract.

The ID is sent to our server for decoding. Do not submit confidential values.

A worked example

For cjld2cjxh0000qzrmn831i7rn, characters 2–9 are jld2cjxh. Decoding them as base36 gives 1535421552101 milliseconds since the Unix epoch:2018-08-28T01:59:12.101Z.

The field reflects the generating clock, not a verified creation event. A constructed string or overlapping CUID2 format can also pass the format check.