Re: Unixtime function?... - Mailing list pgsql-php

From Richard Whittaker
Subject Re: Unixtime function?...
Date
Msg-id 5.0.2.1.0.20010502131806.03c914b0@mekong.connections.yk.ca
Whole thread Raw
In response to Unixtime function?...  (Richard Whittaker <richard@connections.yk.ca>)
Responses Re: Unixtime function?...  (Roberto Mello <rmello@cc.usu.edu>)
List pgsql-php
At 14:11 02/05/01 -0600, Roberto Mello wrote:


        Some RTFM'ing comes in handy :)
        PostgreSQL has lots of functions to work with dates and times,
including to_char and to_date, with tons of functionality. In PG (and Oracle)
dates _are_ integers, even though it's not displayed to you as such:

Allright, so given that, how do I get the number of seconds between two arbitrary date/time values or even just time values, and pass that back to PHP?...

Thanks,
Richard.
Attachment

pgsql-php by date:

Previous
From: Richard Whittaker
Date:
Subject: Unixtime function?...
Next
From: "Adam Lang"
Date:
Subject: Re: Unixtime function?...