upvote
You can just use a different UUID variant which includes timestamp data instead (e.g. v1 or v7), there are also variants which include the MAC address.
reply
> but why not append the date

And use uuid v5 to hash it :)

reply
yeah, any sort of additional semi-random data could've helped prevent this, I'm sure. That, however, is also kind of the idea of UUIDv4, it has lots of randomness and time built in already.
reply
UUID v4 consists of only random bits, no timestamp info.
reply
oh, interesting, I didn't know that and this could possibly be part of the problem perhaps depending on what's used as the seed.
reply