title: How to calculate difference between two days in hours in postgreSQL and return as days?
body: <p>I want to calculate the difference between two dates in days such that for hours from 1-23 we consider it as a day.
  for example: <code>Date1 = '2021-06-15 01:52:00.926+00'</code>
  <code>Date2 = '2021-06-15 02:52:00.926+00'</code>
  Here, Date1-Date2 = 1hour. I want to take ceil of it to be 24hrs i.e 1 day.
  I tried <code>(Date2::DATE - Date1::DATE)</code> but it gives 0.
  There can be two scenarios: If difference between days is 35hrs it should return 3(i.e 3 days). If the difference between dates is 5hrs it should return 1(i.e 1 day).</p>