Re: Current System Timestamp - Mailing list pgsql-general

From Karel Zak
Subject Re: Current System Timestamp
Date
Msg-id 20011010113821.D29004@zf.jcu.cz
Whole thread Raw
In response to Current System Timestamp  ("Pier Paolo Bortone" <pierpaolo.bortone@netengineering.it>)
List pgsql-general
On Wed, Oct 10, 2001 at 11:26:08AM +0200, Pier Paolo Bortone wrote:
> Hi,
> Exists in postgres a function that return me the current system timestamp?
>
> For example:
> INSERT INTO test VALUES (SYSDATE) \g

test=# SELECT now(), CURRENT_TIMESTAMP, 'now'::timestamp;
         now           |       timestamp        |        ?column?
-----------------------+------------------------+------------------------
2001-10-10 11:36:14+02 | 2001-10-10 11:36:14+02 | 2001-10-10 11:36:14+02
(1 row)


    Karel


--
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

pgsql-general by date:

Previous
From: "Pier Paolo Bortone"
Date:
Subject: Current System Timestamp
Next
From: hossam khater
Date:
Subject: Problems while combiling