Sorry, hit Sent too early...

David Garamond wrote:
The Postgres manual says:

The AT TIME ZONE construct allows conversions of time stamps to different time zones.

I'd guess most people would think what's meant here is something like "unit conversion", and that the timestamp value stays the same (much like 2 feet becomes 24 inches when it's being "converted"). But:

# SELECT NOW() = NOW() AT TIME ZONE 'UTC';
 ?column?
----------
 f
(1 row)

Compare with:

# select timestamptz '2004-11-01 12:00:00-05' =
         timestamptz '2004-11-01 17:00:00-00';
 ?column?
----------
 t
(1 row)

The question is: does AT TIME TIME ZONE already do what it's supposed to do currently?

--
dave

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to