会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
0710赵冬
博客园
首页
新随笔
联系
管理
订阅
2017年9月25日
根据身份证号获取年龄的方法
摘要: <?php function getAgeByID($id){ //过了这年的生日才算多了1周岁 if(empty($id)) return ''; $date=strtotime(substr($id,6,8)); //获得出生年月日的时间戳 $today=strtotime('today');
阅读全文
posted @ 2017-09-25 10:29 傻糊糊
阅读(522)
评论(0)
推荐(0)
编辑
公告