Validating a CPR number
A Danish CPR number (Person Identification Number) is date of birth followed by 4 digits (the last one being a control digit): DDMMYY-XXXX
The final digit validates the CPR number using Modulo 11 by satisfying the following equation:
A CPR number formatted like this DDMMYY-XXXX where YY indicates a year within the last 100 years (between 1917 and 2016).
Indication whether CPR number is valid (1 or true) or invalid (0 or false)
290215-2353 --> false 140585-2981 --> true 311217-6852 --> true 121200-0004 --> false 140322-5166 --> false 111111-1118 --> true
This is code-golf - fewest bytes win!
All years refer to a period within the last 100 years. A valid date is a date that exists within it's calendar year.
290215 is not a valid date because 29/2 wasn't a date in 2015.
301216 is a valid date because 30/12 is a date in 2016.