From: Adam Lang <aalang@rutgersinsurance.com>
To: pgsql-php@postgresql.org
Subject: Re: timestamp
Date: Mon, 4 Dec 2000 08:54:18 -0500
Message-ID: <004f01c05df9$b26b7300$330a0a0a@6014cwpza006> (raw)
References: <6454.001203@mclink.it>
For timestamping in PHP, I use mktime and getdate functions.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Nico D" <nico@mclink.it>
To: <pgsql-php@postgresql.org>
Sent: Sunday, December 03, 2000 4:53 AM
Subject: [PHP] timestamp
> 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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: aalang@rutgersinsurance.com
Subject: Re: timestamp
In-Reply-To: <004f01c05df9$b26b7300$330a0a0a@6014cwpza006>
References: <6454.001203@mclink.it> <004f01c05df9$b26b7300$330a0a0a@6014cwpza006>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox