Loading

C# 根据出生年月 计算天数/计算X岁X月X天字符串

public class TimeTool { //根据出生年月计算 整数天 private static int GetAgeByBirthdate(DateTime birthdate) { DateTime now = DateTime.Now; int age = now.Year - bi
posted @ 2020-09-21 18:29  jevan  阅读(224)  评论(0编辑  收藏  举报