//年月日 转 年龄(PHP代码函数)
//代码来源:Monxin ./config/functions.php
function get_age($birthday){
if($birthday==0){return '';}
$age=date("Y")-get_date($birthday,"Y",0);
return $age;
}
年月日 转 年龄(PHP代码函数)
最新推荐文章于 2023-04-27 10:55:05 发布
//年月日 转 年龄(PHP代码函数)
//代码来源:Monxin ./config/functions.php
function get_age($birthday){
if($birthday==0){return '';}
$age=date("Y")-get_date($birthday,"Y",0);
return $age;
}