只有注册用户登录后才能阅读该文。 阅读全文
摘要:
public static string GetDateYAndM(string beginDate, string endDate) { var bdate= Convert.ToDateTime(beginDate); var edate= Convert.ToDateTime(endDate); int years = -1; int months = -1; if (bdate> edate) return... 阅读全文
摘要:
var s1 = '2012-05-12'; s1 = new Date(s1.replace(/-/g, "/")); s2 = new Date(); var days = s2.getTime() - s1.getTime(); var time = parseInt(days / (1000 * 60 * 60 * 24)); 阅读全文