Search Postgresql Archives

SET TIMEZONE doesn't affect to SELECT statement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: SET TIMEZONE doesn't affect to SELECT statement

Hello; by tutorial I have tried the example:


set timezone to 'Europe/London';

select '2008-01-01 12:00:00 GMT+2'::timestamptz;


Result: 2008-01-01 15:00:00



set timezone to 'Europe/Moscow';

select '2008-01-01 12:00:00 GMT+2'::timestamptz;


Result: 2008-01-01 15:00:00



Why is the result identical ? Is something wrong ?


Thanks for suggestion.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux