Re: timestamp - Mailing list pgsql-general

From scott.marlowe
Subject Re: timestamp
Date
Msg-id Pine.LNX.4.33.0306090850050.1952-100000@css120.ihs.com
Whole thread Raw
In response to timestamp  (Marc Cuypers <mail@mgvd.be>)
List pgsql-general
On Wed, 4 Jun 2003, Marc Cuypers wrote:

> Hi,
>
> How do insert a timestamp in a timestamp field.
>
> insert into table (tt) values (now()+100)
>
> doesn't seem to work

Here's a page that might help:

http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=functions-datetime.html

A quick hint,

select now() + interval '1 hour';
select now() + interval '45 seconds';



pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Linux 2.6 kernel,
Next
From: "Fernando Papa"
Date:
Subject: Strange result with select/not null/OR