Date Math

John Goetsch <jg@seacode.com>

From: John Goetsch <jg@seacode.com>
To: pgsql-general@postgresql.org
Date: 2003-07-09T18:39:22Z
Lists: pgsql-general
Hi,

I am trying to modify some timestamps in the database and cannot find
documentation relating to date/timestamp manipulation.

What I am thinking of something like:

update foo set  timestamp_field  = timestamp_field + 365;

where the 365 is days, or seconds or something.

Any hints?

Thanks
john