Re: Assigning a timestamp without timezone to a timestamp

Поиск
Список
Период
Сортировка
От chrisj
Тема Re: Assigning a timestamp without timezone to a timestamp
Дата
Msg-id 6668169.post@talk.nabble.com
обсуждение исходный текст
Ответ на Re: Assigning a timestamp without timezone to a timestamp  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-sql
Thanks for the heads up, I definately need  EST5EDT

you saved me twice!!


Andrew Sullivan wrote:
> 
> On Thu, Oct 05, 2006 at 01:06:00PM -0700, chrisj wrote:
>> If only all time zones were fixed offset timezones life would be so much
>> simpler.
> 
> Indeed.
> 
>> Unfortunately the main area of deployment of my app will beToronto which
>> is
>> on EDT which is not a fixed offsets timezone.  I hope/assume your
>> solution
>> works with "EDT" instead of "-3", I will test it soon.
> 
> Should do, although you'll need more than EDT.  EDT is also fixed:
> it's UTC-4.  EST5EDT isn't, though, so you could use that (you'd need
> to improve your schema, though, because you had char(3) there, and
> not all time zones are 3 characters long).  But to answer your
> question, yes, it works.  I just tried it.
> 
> A
> 
> 
> -- 
> Andrew Sullivan  | ajs@crankycanuck.ca
> Information security isn't a technological problem.  It's an economics
> problem.
>         --Bruce Schneier
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
>        subscribe-nomail command to majordomo@postgresql.org so that your
>        message can get through to the mailing list cleanly
> 
> 

-- 
View this message in context:
http://www.nabble.com/Assigning-a-timestamp-without-timezone-to-a-timestamp-with-timezone-tf2373845.html#a6668169
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



В списке pgsql-sql по дате отправления:

Предыдущее
От: Andrew Sullivan
Дата:
Сообщение: Re: Assigning a timestamp without timezone to a timestamp
Следующее
От: "Hector Villarreal"
Дата:
Сообщение: Re: Assigning a timestamp without timezone to a timestamp