converting timstamptz to local time zone - Mailing list pgsql-general

From Peter Nixonn
Subject converting timstamptz to local time zone
Date
Msg-id e0gf74$fju$1@sea.gmane.org
Whole thread Raw
Responses Re: converting timstamptz to local time zone
List pgsql-general
How can I "select ('2006-01-01 9:00:00+02' at time zone 'GMT')::timestamp;"
where instead of GMT it has the local time zone of the machine I am running
it on (which varies between my machines)?
I dont want to hard code the timezone of the machine into the query.. I want
to pick it up from the environment, but cant figure out how :-(

--

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc

pgsql-general by date:

Previous
From: "Sergey Karin"
Date:
Subject: How to detect primary key of a table
Next
From: "Sergey Karin"
Date:
Subject: Re: How to detect primary key of a table