4 ms·
The date itself is already a universally unique identifier (provided there is never more than 1 issue per day).
by folli 8y ago
The date itself is already a universally unique identifier (provided there is never more than 1 issue per day).
- cabaalis 8y agoAlso naturally sortable if represented as YYYYMMDD, unlike default guids (unless specifically using sequential guid generator)
- stygiansonic 8y agoBeing pedantic here, and somewhat off topic. In general, a "date" (assuming you mean year, month and day) is not universally unique unless you provide the calendar system under which it occurred. See: https://en.wikipedia.org/wiki/Dual_dating https://en.wikipedia.org/wiki/Dual_dating This probably doesn't matter much going forward, but it does matter when addressing historical dates.