skip to Main Content

PostgreSQL Timestamp Difference in Milliseconds

I am struggling getting the difference of two Timestamps in milliseconds. My current approach was SELECT * FROM EXTRACT(EPOCH FROM(NOW()::TIMESTAMP - '2022-10-23 16:34:53.227')) which was described on a bad website as returning the difference in seconds but in fact returning…

VIEW QUESTION
Back To Top
Search