From: Marcin Mazurek <M.Mazurek@poznan.multinet.pl>
To: pgsql-sql@postgresql.org
Subject: to_timestamp, problem
Date: Fri, 15 Dec 2000 11:30:34 +0100
Message-ID: <20001215113034.B5251@poznan.mtl.pl> (raw)
Hi,
Can anyone explain to me why this doesn't work. Seems to be some stupid (my)
mistake:
mtldb=# SELECT to_timestamp('05121445482000', 'MMDDHHMISSYYYY');
to_timestamp
------------------------
2000-05-12 14:45:48+02
(1 row)
mtldb=# SELECT to_timestamp('20000512144548', 'YYYYMMDDHHMISS');
to_timestamp
--------------
invalid
(1 row)
pg 7.0.3, linux 2.2
tia
mazek
Marcin Mazurek
--
Kierownik DziaĆu Systemowego
MULTINET SA o/Poznan
http://www.multinet.pl/
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: M.Mazurek@poznan.multinet.pl
Subject: Re: to_timestamp, problem
In-Reply-To: <20001215113034.B5251@poznan.mtl.pl>
References: <20001215113034.B5251@poznan.mtl.pl>
* 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