获取年龄周岁(准确的)
摘要:
FLOOR(datediff(DY,birthDay,GETDATE())/365.25) --SQL ShowMessage(IntToStr(Trunc((StrToDateTime('2017-03-01')-StrToDateTime('2016-02-29'))/365.25)));//d 阅读全文
posted @ 2017-01-26 19:43 金宝的博客 阅读(297) 评论(0) 推荐(0)
posted @ 2017-01-26 19:43 金宝的博客 阅读(297) 评论(0) 推荐(0)