Re: "TZ"/"tz" not supported - Mailing list pgsql-sql

From A. Kretschmer
Subject Re: "TZ"/"tz" not supported
Date
Msg-id 20080620061518.GC14379@a-kretschmer.de
Whole thread Raw
In response to "TZ"/"tz" not supported  ("Peter Kovacs" <maxottovonstirlitz@gmail.com>)
Responses Re: "TZ"/"tz" not supported  ("Peter Kovacs" <maxottovonstirlitz@gmail.com>)
List pgsql-sql
am  Fri, dem 20.06.2008, um  7:51:50 +0200 mailte Peter Kovacs folgendes:
> Hi,
> 
> Execution of the following statement aborts with the error message in
> the Subject:
> 
> select to_timestamp('2008-06-20 02:30:00 GMT', 'YYYY-MM-DD HH24:MI:SS TZ');

You can use:

test=*# select '2008-06-20 02:30:00 GMT'::timestamptz;     timestamptz
------------------------2008-06-20 04:30:00+02
(1 row)



helps that?



Andreas
-- 
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net


pgsql-sql by date:

Previous
From: "Peter Kovacs"
Date:
Subject: "TZ"/"tz" not supported
Next
From: "Peter Kovacs"
Date:
Subject: Re: "TZ"/"tz" not supported