ValidateCPR ( CPR )
Validates Danish CPR-number
Average rating: 4.9 (20 votes) Log in to vote
RTM Insurance Brokers A/S
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
We have ID numbers in Denmark called CPR - Det Centrale PersonRegister- which has been in use since my birth year, 1968. Back then, bytes were expensive, so the biggest problem was that full years (four digits) were not used.
There are validation criteria that are well described:
This function returns information on validity, date of birth, and gender, given the string.
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.