Add Day to Timestamp

Nadir picture Nadir · May 26, 2011 · Viewed 50.1k times · Source

How do I add days to a timestamp? If my timestamp is 01-JAN-2011 11-09-05 and I add 2 days, I want 03-JAN-2011 11-09-05.

Answer

Marc B picture Marc B · May 26, 2011
select '01-jan-2011 11-09-05' + interval '2' day