Answers for "postgresql subtract variable from timestamp"

SQL
0

substract variable amount of minutes from timestamp postgresql

SELECT p.date_time + number_of_seconds * INTERVAL '1 second'
    FROM photo p 
    WHERE p.id = 1;
Posted by: Guest on October-16-2020

Code answers related to "postgresql subtract variable from timestamp"

Code answers related to "SQL"

Browse Popular Code Answers by Language