From: Dan Wilson <phpPgAdmin@acucore.com>
To: Richie <dugganr@student.cs.ucc.ie>
To: pgsql-php@postgresql.org
Subject: Re: Converting POSTGRESQL timestamp to UNIX timestamp
Date: Thu, 22 Mar 2001 12:33:45 -0700
Message-ID: <00cf01c0b307$02ac4080$543987cf@corp.peoplesoft.com> (raw)
References: <Pine.OSF.3.96.1010322172104.28810A-100000@student.cs.ucc.ie>
http://www.php.net/manual/en/function.strtotime.php
: Hi
:
: I have a field of type timestamp in my database but when I retrieve it I
: want to convert it to its unix timetamp value because I need to compare 2
: tables by their timestamp value.
:
: Any ideas how to convert PostgreSQL timestamp to Unix timestamp???
:
: Thanks
:
: Richie
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: phpPgAdmin@acucore.com, dugganr@student.cs.ucc.ie
Subject: Re: Converting POSTGRESQL timestamp to UNIX timestamp
In-Reply-To: <00cf01c0b307$02ac4080$543987cf@corp.peoplesoft.com>
References: <Pine.OSF.3.96.1010322172104.28810A-100000@student.cs.ucc.ie> <00cf01c0b307$02ac4080$543987cf@corp.peoplesoft.com>
* 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