I want to add seconds to a given timestamp.
An example :
This time:
Declare
t1 timestamp = '1900-01-01 02:00:00';
Now I want to add 20 secondsat a given time.
In SQL Server, I used DATEADD. But I searched and found out that such a function is not provided by PostgreSQL.
What will be the solution?
source
share