X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 254CAD1B441 for ; Sat, 27 Dec 2003 23:43:35 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 01335-01 for ; Sat, 27 Dec 2003 19:42:47 -0400 (AST) Received: from Ariel2.idahopower.com (unknown [204.76.195.72]) by svr1.postgresql.org (Postfix) with SMTP id 4CEAED1B48A for ; Sat, 27 Dec 2003 19:42:35 -0400 (AST) Received: from 204.76.195.33 by Ariel2.idahopower.com with ESMTP (IPCo Mail Relay at your service (MMS v4.7);); Sat, 27 Dec 2003 16:38:20 -0700 X-Server-Uuid: c4da1ae6-7048-11d2-bc8e-00a083360239 Received: from bedford.idacorp.local ([172.18.201.66]) by midway.idacorp.local with Microsoft SMTPSVC(5.0.2195.6713); Sat, 27 Dec 2003 16:42:21 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Subject: SQL convert UTC to MST Date: Sat, 27 Dec 2003 16:37:32 -0700 Message-ID: <71B8A8BEC516CF46835CA629156CF21163F6EE@bedford.idacorp.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: SQL convert UTC to MST Thread-Index: AcPM0mX5ptUpr96DQe6H9LRhO6daCg== From: "Seader, Cameron" To: pgsql-php@postgresql.org X-OriginalArrivalTime: 27 Dec 2003 23:42:21.0065 (UTC) FILETIME=[121E5790:01C3CCD3] X-WSS-ID: 13F0C860936968-18-01 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200312/68 X-Sequence-Number: 2514 I cannot figure this out, and im no SQL guru and would like to do this with= an SQL statement if i can. so far here is my SQL statement. SELECT * FROM t444d500009b5_4_6 ORDER BY utctime DESC What can i add here to have the column in this table converted from UTC to = MST. any input would be helpful Thanks, Cameron Seader Operations Center Technician II CSeader@Idahopower.com 1.208.388.2582 Office [INFO] -- Access Manager: This transmission may contain information that is privileged, confidential = and/or exempt from disclosure under applicable law. If you are not the int= ended recipient, you are hereby notified that any disclosure, copying, dist= ribution, or use of the information contained herein (including any relianc= e thereon) is STRICTLY PROHIBITED. If you received this transmission in err= or, please immediately contact the sender and destroy the material in its e= ntirety, whether in electronic or hard copy format. Thank you. A2