Say I have two dates: 1/24/2020 11:55:00 PM
and 1/25/2020 01:00:00 AM
. Real difference between them is about 2 hours
but the day has changed. I want the difference in days which would be 1
.
I have tried https://stackoverflow.com/a/52054494/6288172 but it doesn't give me the right answer.