CTED]
Sent: Tuesday, September 26, 2006 12:47 AM
To: Harry Hehl; pgsql-general@postgresql.org
Subject: RE: [GENERAL] Timestamp with timezone query
I'm not at my dev station to check, but what about:
SELECT myTime AT TIME ZONE 'UTC' FROM theTable;
Then try:
SELECT myTime AT TI
Title: RE: [GENERAL] Timestamp with timezone query
I'm not at my dev station to check, but what about:
SELECT myTime AT TIME ZONE 'UTC' FROM theTable;
Then try:
SELECT myTime AT TIME ZONE 'UTC' FROM theTable WHERE myTime = '19:30:00-00';
Or:
SELECT myTi
lto:[EMAIL PROTECTED] On Behalf Of Harry Hehl
Sent: Monday, September 25, 2006 5:34 PM
To: pgsql-general@postgresql.org
Subject: Re: [GENERAL] Timestamp with timezone query
Thanks, that does it.
select * from table where column = '2006-02-10 19:30:00' AT TIME ZONE
'utc';
I al
results or syntax errors. Is there a way to
do the same thing with TIME columns?
-Original Message-
From: Brandon Aiken [mailto:[EMAIL PROTECTED]
Sent: Monday, September 25, 2006 11:39 AM
To: Harry Hehl; pgsql-general@postgresql.org
Subject: RE: [GENERAL] Timestamp with timezone qu
, September 25, 2006 11:06 AM
To: pgsql-general@postgresql.org
Subject: [GENERAL] Timestamp with timezone query
Hello,
I have a table with TIMESTAMP WITH TIMEZONE column. I would like to
query for a timestamp using a different timezone.
For example if a column contains '2006-02-11 00:30:00-05
Hello,
I have a table with TIMESTAMP WITH TIMEZONE column. I would like to
query for a timestamp using a different timezone.
For example if a column contains '2006-02-11 00:30:00-05'
select * from table where column='2006-02-10 19:30:00+00' would return
the column containing '2006-02-11 00:30:00