From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Eric Lemes <eric.lemes@zanthus.com.br>
Cc: pgsql-sql@postgresql.org
Subject: Re: Datetime problem
Date: Mon, 14 Jun 2004 16:34:44 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0406141634190.29656-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <AIEBKHHFIIDLBADEGCPDIEKICAAA.eric.lemes@zanthus.com.br>
O kyrios Eric Lemes egrapse stis Jun 14, 2004 :
> Hello there,
>
> I'm with a little trouble with postgresql and date/time conversions:
>
> - select to_timestamp('2004 10 10 00 00 00', 'YYYY MM DD HH MI SS')
>
> the output is:
>
> - 2004-10-09 23:00:00-03
Just do select to_timestamp('2004 10 10 00 00 00', 'YYYY MM DD HH MI
SS')::timestamp
to get rid off timezone info.
>
> Anybody can help me?
>
>
> []'s
>
> Eric Lemes de Godoy Cintra
> Analista de Sistemas Líder
> Zanthus Sistemas e Equip. Automação S/A
> Desenvolvimento de Software
>
>
>
> eric.lemes@zanthus.com.br
> Fone: 55(11) 3750-7077
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.693 / Virus Database: 454 - Release Date: 31/5/2004
>
--
-Achilleus
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: achill@matrix.gatewaynet.com, eric.lemes@zanthus.com.br
Subject: Re: Datetime problem
In-Reply-To: <Pine.LNX.4.44.0406141634190.29656-100000@matrix.gatewaynet.com>
References: <AIEBKHHFIIDLBADEGCPDIEKICAAA.eric.lemes@zanthus.com.br> <Pine.LNX.4.44.0406141634190.29656-100000@matrix.gatewaynet.com>
* 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