Received: from mail1.mclink.it (net128-007.mclink.it [195.110.128.7]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eB39rFF96827 for ; Sun, 3 Dec 2000 04:53:15 -0500 (EST) (envelope-from nico@mclink.it) Received: from ZEUS ([62.98.36.122]) by mail1.mclink.it (8.9.3/8.9.0) with ESMTP id KAA14902 for ; Sun, 3 Dec 2000 10:53:14 +0100 (CET) Date: Sun, 3 Dec 2000 10:53:54 +0100 From: Nico D X-Mailer: The Bat! (v1.39) Educational Reply-To: Nico D X-Priority: 3 (Normal) Message-ID: <6454.001203@mclink.it> To: pgsql-php@postgresql.org Subject: timestamp Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200012/1 X-Sequence-Number: 44 Is there any function that converts the internal PG timestamp format into unix timestamp format? Or viceversa, is there a PHP function that formats properly the PG timestamp according to the setlocale setting? I'm trying to get the CPU-wasteless time conversion. (I'm using PG 7.0.2) Thanks Nico