pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Eric Lemes <eric.lemes@zanthus.com.br>
To: pgsql-sql@postgresql.org
Subject: Datetime problem
Date: Mon, 14 Jun 2004 11:08:48 -0300
Message-ID: <AIEBKHHFIIDLBADEGCPDIEKICAAA.eric.lemes@zanthus.com.br> (raw)

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

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

Attachments:

logo_assinatura.bmp (image/bmp, 11.0K) download view image

view thread (4+ messages)  latest in thread

Message-ID: <AIEBKHHFIIDLBADEGCPDIEKICAAA.eric.lemes@zanthus.com.br>
Permalink:  ../AIEBKHHFIIDLBADEGCPDIEKICAAA.eric.lemes@zanthus.com.br/
Also on:    postgresql.org/message-id/AIEBKHHFIIDLBADEGCPDIEKICAAA.eric.lemes@zanthus.com.br

 · 

reply

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: eric.lemes@zanthus.com.br
  Subject: Re: Datetime problem
  In-Reply-To: <AIEBKHHFIIDLBADEGCPDIEKICAAA.eric.lemes@zanthus.com.br>

* 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