Re: Converting POSTGRESQL timestamp to UNIX timestamp

From: "Dan Wilson" <phpPgAdmin(at)acucore(dot)com>
To: "Richie" <dugganr(at)student(dot)cs(dot)ucc(dot)ie>, <pgsql-php(at)postgresql(dot)org>
Subject: Re: Converting POSTGRESQL timestamp to UNIX timestamp
Date: 2001-03-22 19:33:45
Message-ID: 00cf01c0b307$02ac4080$543987cf@corp.peoplesoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Vince Vielhaber 2001-03-22 20:22:42 Re: Refreshing php page every 5 secs WHILE SAVING INFORMATION
Previous Message Adam Lang 2001-03-22 19:08:47 Re: Refreshing php page every 5 secs WHILE SAVING INFORMATION