bitsCN.com mysql生日提醒 Java代码 SELECT datediff(DATE_ADD("1989-01-02",INTERVAL TIMESTAMPDIFF(YEAR,"1989-01-02","2013-10-15") YEAR),NOW()) 로그인 후 복사 先计算出生日离当前日期的年份差, 在用生日+上年份差与当前时间做减法 bitsCN.com