Comment Comment by Izkata Isn't this what EXTRACT does? (Note the first paragraph that says it works on "interval" types)https://www.postgresql.org/docs/9.3/functions-datetime.html#...Just did a search and got it from here, which shows it being used on the difference between two dates: https://stackoverflow.com/questions/24929735/how-to-calculat... parent Izkata 4 years ago
https://www.postgresql.org/docs/9.3/functions-datetime.html#...
Just did a search and got it from here, which shows it being used on the difference between two dates: https://stackoverflow.com/questions/24929735/how-to-calculat...