Обсуждение: [OT] Timezones and Daylight savings.

Поиск
Список
Период
Сортировка

[OT] Timezones and Daylight savings.

От
"Jackson, DeJuan"
Дата:
Could one of you kinds soul point me to the PostgreSQL code for determining
Timezones and Daylight Savings.  If I can assess the OS's database that
would be best.  Thanks-DEJ


Re: [HACKERS] [OT] Timezones and Daylight savings.

От
Thomas Lockhart
Дата:
> Could one of you kinds soul point me to the PostgreSQL code for 
> determining Timezones and Daylight Savings. 

backend/utils/adt/{dt.c,nabstime.c}

> If I can assess the OS's database that would be best.

Not sure what you mean here. As a guess, you should look at the
utility "zdump", which will show you the transition times for ST/DST.
You can set the TZ environment variable (or PGTZ envar when running
Postgres) to test out different time zones, which is how I can test
bug reports from other parts of the world.
                     - Tom


Re: [OT] Timezones and Daylight savings.

От
BLuehAZE@att.net (KaTMiX)
Дата:
Duno, try program called: Sam Spade at : http://www.download.com maybe
it will help/maybe not. It will sometimes determine the IP time info.
I'm one of those damn newbies! Ya know.

Good luck.

On 30 Mar 1999 19:02:45 -0500, djackson@cpsgroup.com ("Jackson,
DeJuan") wrote:

>Could one of you kinds soul point me to the PostgreSQL code for determining
>Timezones and Daylight Savings.  If I can assess the OS's database that
>would be best.  Thanks
>    -DEJ