PostgreSQL - How to calculate difference between two timestamps? | TablePlus

PHOTO EMBED

Fri Apr 30 2021 16:44:16 GMT+0000 (Coordinated Universal Time)

Saved by @mvieira

SELECT age(timestamp1, timestamp2);
content_copyCOPY

https://tableplus.com/blog/2018/08/postgresql-how-to-calculate-difference-between-two-timestamps.html