Say I have an interval like
4 days 10:00:00
in postgres. How do I convert that to a number of hours (106 in this case?) Is there a function
select date 'now()' - date '1955-12-15';
Here is the simple query which calculates total no of days.