| From: | Andrew Sullivan <ajs(at)commandprompt(dot)com> |
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Odd timezone backend output |
| Date: | 2008-05-02 14:25:09 |
| Message-ID: | 20080502142508.GD21028@commandprompt.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, May 02, 2008 at 09:54:20AM -0400, Andrew Chernow wrote:
> I prefer offset from UTC, the timezone abbrevs are ambiguos and confusing.
So did you read the manual on SET TIME ZONE?
> TIME ZONE
> SET TIME ZONE value is an alias for SET timezone TO value. The
> syntax SET TIME ZONE allows special syntax for the time zone
> specification. Here are examples of valid values:
> 'PST8PDT'
> The time zone for Berkeley, California.
> 'Europe/Rome'
> The time zone for Italy.
> -7
> The time zone 7 hours west from UTC (equivalent to
> PDT). Positive values are east from UTC. INTERVAL '-08:00' HOUR
> TO MINUTE
> The time zone 8 hours west from UTC (equivalent to PST).
A
--
Andrew Sullivan
ajs(at)commandprompt(dot)com
+1 503 667 4564 x104
http://www.commandprompt.com/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2008-05-02 14:45:31 | Re: [COMMITTERS] pgsql: Sigh ... |
| Previous Message | Darren Reed | 2008-05-02 14:08:07 | Re: Protection from SQL injection |