Is there a TIMESTAMPDIFF() equivalent for PostgreSQL?
TIMESTAMPDIFF()
I know I can subtract two timestamps to get a postgresql INTERVAL. I just want the
INTERVAL
extract(hour from age(now(),links.created)) gives you a floor-rounded count of the hour difference.
extract(hour from age(now(),links.created))