摘要: // 方法一:通过计算时间戳function getAgeByID($id){ //过了这年的生日才算多了1周岁 if(empty($id)) return ''; //获得出生年月日的时间戳 $date=strtotime(substr($id,6,8)); //获得今日的时间戳 $today=s 阅读全文
posted @ 2021-09-23 14:33 俊豪(Alvin) 阅读(616) 评论(0) 推荐(0) 编辑