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