How do i find the difference in Days between two DateTime instances? with difference in days i mean if start is on Monday and end is on Tuesday i expect a return value of 1 regardless the hour/minute/seconds of the start and end dates.
Days.DaysBetween(start, end).getDays() gives me 0 if start is in the evening and end in the morning.
Edit: i'm also having the same issue with other date fields so i was hoping there would be a generic way to 'ignore' the fields of lesser significance.
IE. the months between Feb and 4 march would also be 1, as would the hours between 14:45 and 15:12 be. however the hour difference between 14:01 and 14:55 would be 0