| От | ptjm@interlog.com (Patrick TJ McPhee) |
|---|---|
| Тема | Re: timestamp with time zone |
| Дата | |
| Msg-id | 13m43ko14k9sm05@corp.supernews.com обсуждение исходный текст |
| Ответ на | Re: timestamp with time zone ("Magnus Hagander" <magnus@hagander.net>) |
| Список | pgsql-general |
In article <20071214.001009.67102034.t-ishii@sraoss.co.jp>, Tatsuo Ishii <ishii@postgresql.org> wrote: % From: "Magnus Hagander" <magnus@hagander.net> [...] % > > Can I get "+04" without knowing that I inserted the data using "+0400" % > > time zone? % > No. The closest you can get is to store the tz in a different column % and use AT TIMEZONE (which accepts a column name as argument) % Or use date + time with time zone. This could cause problems if you want to insert a timestamp for a date with different DST settings. It also seems a lot more cumbersome to do it this way. -- Patrick TJ McPhee North York Canada ptjm@interlog.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера