From: mohan@physics.gmu.edu
To: pgsql-sql@postgresql.org
Subject: date function problem
Date: Tue, 3 Feb 2004 10:51:45 -0500 (EST)
Message-ID: <61599.138.88.163.115.1075823505.squirrel@physics.gmu.edu> (raw)
Hi All
I have an expiration_date column in my table with data type as timestamp.
I need to set that as one year after the current time. how do i do that. I
am getting a casting problem whenever i try something.
something like now()+ 1 year. Please let me know
--mohan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mohan@physics.gmu.edu
Subject: Re: date function problem
In-Reply-To: <61599.138.88.163.115.1075823505.squirrel@physics.gmu.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox