Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

身份证上的年月日 识别怎么取啊? #15

Open
Snail67 opened this issue Oct 14, 2017 · 2 comments
Open

身份证上的年月日 识别怎么取啊? #15

Snail67 opened this issue Oct 14, 2017 · 2 comments

Comments

@Snail67
Copy link

Snail67 commented Oct 14, 2017

身份证上的年月日 识别怎么取啊?打印这个[NSString stringWithCString:(char *)content encoding:gbkEncoding], 输出不了对应信息呀

@Yueeeeee
Copy link

Yueeeeee commented Dec 7, 2017

https://jingyan.baidu.com/article/72ee561abd962fe16038df48.html
分析一下身份号就OK了

@zhongfenglee
Copy link
Owner

中国各省的身份证前几位都是固定的,你可以截取其中的年月日字符串

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants