Categories
#Expression

Compute birthday based on a Danish CPR number

Release Date:
13/12/2021

A Danish CPR number is encoded as 10 digits, sometimes as 6 digits followed by a – and then 4 digits, e.g. 22022018-1234 or 220220181234. Image you wish to convert a CPR number into a date in order to find out the age of the person or if the person is at least 18 years old.

LinkedIn
Share