Remix.run Logo
▲ lordnacho an hour ago

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.

▲usrnm an hour ago | parent [-]

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?

▲piva00 an hour ago | parent | next [-]

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.

▲ 25 minutes ago | parent | next [-]
[deleted]
▲polack 36 minutes ago | parent | prev | next [-]

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.

▲madmoose 33 minutes ago | parent | prev | next [-]

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.

▲ls65536 an hour ago | parent | prev [-]

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

▲onionisafruit 32 minutes ago | parent [-]

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.

▲tannertech an hour ago | parent | prev [-]

That's a problem for future Denmark!