It's unique, but it encodes your birthday and sex.

There's only 500 numbers it could be, assuming someone knows those other things about you.

In any case, there are alternative systems for authorisation.

You're contradicting yourself, how can it be unique if only 1000 can be assigned per given date of birth? What if more than one thousand babies are born in the country one day?

It's Denmark, it won't have 1k babies born the same day.

It's the same in Sweden: YYYY-MM-DD-XXXX is the format for a personnummer, double the population of Denmark and there are no collisions.

There have been collisions in Sweden, but that was due to lots of immigrants coming from the middle east that did not know when they where born. So many of them picked first of January. They “solved” it by overflowing to the next days.

Completely forgot about the YYYY-01-01 case!

Thanks for correcting it :)

Immigrants who don't know their birthdate are assigned xxxx-01-01, so they have actually run out of numbers for January 1st in some years.

[deleted]

That format looks like it would allow for up to 10k per day. Unless one of those X's is a check digit?

They said sex is encoded in it, so it’s probably a sex digit.

edit: I was wrong. Wikipedia says, “The first digit of the sequence number encodes the century of birth (so that centenarians are distinguished from infants)”.

It also says “the last digit of the sequence number is odd for males and even for females”. What a strange system. Essentially the last three digits are two different sequences made to look like one.

That's a problem for future Denmark!