Re: Current System Timestamp

Поиск
Список
Период
Сортировка
От Karel Zak
Тема Re: Current System Timestamp
Дата
Msg-id 20011010113821.D29004@zf.jcu.cz
обсуждение исходный текст
Ответ на Current System Timestamp  ("Pier Paolo Bortone" <pierpaolo.bortone@netengineering.it>)
Список 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 по дате отправления:

Предыдущее
От: "Pier Paolo Bortone"
Дата:
Сообщение: Current System Timestamp
Следующее
От: hossam khater
Дата:
Сообщение: Problems while combiling