public static int TotalHoursBetween(DateTime time1, DateTime time2) => DateTimeSpan.CompareDates(time1, time2).Hours;
public static int TotalDaysBetween(DateTime time1, DateTime time2) => DateTimeSpan.CompareDates(time1, time2).Days;
public static int TotalMonthsBetween(DateTime time1, DateTime time2) => DateTimeSpan.CompareDates(time1, time2).Months + DateTimeSpan.CompareDates(time1, time2).Years * 12;
public static int TotalWeeksBetween(DateTime time1, DateTime time2) => (int)Math.Ceiling(DateTimeSpan.CompareDates(time1, time2).Days / 7d);
public static int TotalMillisecondsBetween(DateTime time1, DateTime time2) => DateTimeSpan.CompareDates(time1, time2).Milliseconds;
public static int TotalMinutesBetween(DateTime time1, DateTime time2) => DateTimeSpan.CompareDates(time1, time2).Minutes;