I am trying to parse information from a FL drivers license Magnetic Strip. The information below should explain better.
These are the numbers in the stip: ;6360101262000786187=2105197499270=?
I have made bold (above) the numbers needed from the string.
Actual numbers:
86
05
27
Placement in the string counting from left to right (including all charactors):
16 & 17
24 & 25
32 & 33
function get_age($birth_date){
return floor((time() - strtotime($birth_date))/31556926);
}
echo get_age("1986-05-27");
Any thoughts?
Thank you for your help.