Re: Unixtime function?...

From: Richard Whittaker <richard(at)connections(dot)yk(dot)ca>
To: Roberto Mello <rmello(at)cc(dot)usu(dot)edu>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Unixtime function?...
Date: 2001-05-02 20:20:24
Message-ID: 5.0.2.1.0.20010502131806.03c914b0@mekong.connections.yk.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Matthew Kolb 2001-05-02 20:23:02 Re: Unixtime function?...
Previous Message Roberto Mello 2001-05-02 20:11:07 Re: Unixtime function?...