Received: from mail.postgresql.org (webmail.postgresql.org [216.126.85.28]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id f26GZix30384 for ; Tue, 6 Mar 2001 11:35:44 -0500 (EST) (envelope-from pgsql-admin-owner@postgresql.org) Received: from msfs.math.ucalgary.ca (msfs.math.ucalgary.ca [136.159.61.8]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f24MA6x83980 for ; Sun, 4 Mar 2001 17:10:06 -0500 (EST) (envelope-from mlwruble@sorexsoftware.com) Received: from sorexsoftware.com (h24-65-238-245.cg.shawcable.net [24.65.238.245]) by msfs.math.ucalgary.ca (8.9.3/8.9.3) with ESMTP id PAA22589 for ; Sun, 4 Mar 2001 15:10:01 -0700 (MST) Message-ID: <3AA2BD9A.A9B47818@sorexsoftware.com> Date: Sun, 04 Mar 2001 15:11:38 -0700 From: Marc Wrubleski X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgreSQL.org Subject: determining DST in TimeZones Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/45 X-Sequence-Number: 889 I have to determine whether the the local time to my users has Daylight Savings Time applied or not, given their timezone (eg MST) and the current timestamp. Is there any way to determine this? So far, I have been able to determine their local time given the timezone and timestamp, but I cannot figure out if it should have DST applied and if so, how much offset it should have. Thanks for any suggestions. Marc Wrubleski Sorex Software Inc. 403 371-7598