计算两个日期相差多少天
static int daysBetweenDay(DateTime a, DateTime b) { int v = a.millisecondsSinceEpoch - b.millisecondsSinceEpoch; return v ~/ 86400000; }