timestamp with time zone, retrieving input offset/timezone
В списке pgsql-general по дате отправления:
| От | Der Tung |
|---|---|
| Тема | timestamp with time zone, retrieving input offset/timezone |
| Дата | |
| Msg-id | 000001ca14f4$097133f0$1c539bd0$@de обсуждение исходный текст |
| Ответы |
Re: timestamp with time zone, retrieving input
offset/timezone
Re: timestamp with time zone, retrieving input offset/timezone |
| Список | pgsql-general |
Hello there,
We are creating an Application that needs to handle timestamps in different timezones in particular:
Input and output in timezone of the User is no problem with
Set Time Zone and At Time Zone
But know I have two Users A and B in different timezones.
When A saves a timestamp I want B to:
- Get the timestamp displayed in his timezone
- Get the timestamp displayed in the timezone a originally saved it in
Does the type “timestamp with time zone” contain the original timezone or at least the offset to UTC it was saved in, or does it just save the UTC time?
If it saves the timezone/offset, how can I access it?
Regards,
Der Tung
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера