Search Postgresql Archives

timezone + DST handling

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

 



Hi,

I have a CMS where I display the timezone for international meeting dates. I store the dates as follows:

startdate | timestamp with timezone
timezonename | text

This works fine until I hit daylight-savings time when the name of the timezone changes. So, given a "timestamp with timezone" and a base timezone (non-DST), how can I determine if the date is currently in DST? Is it possible to get the name of the new DST timezone?

Thanks!

-M


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

[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