Date calc/comparisions - Mailing list pgsql-php

From Brent R. Matzelle
Subject Date calc/comparisions
Date
Msg-id AQUARIUSgC81TbdkSmL00000009@aquarius.asdev.activestrategy.com
Whole thread Raw
List pgsql-php
I need to know if the date returned from a TIMESTAMP field is less than 24 hours old.
However, PHP does not understand how to compare times retrieved from PostgreSQL.
Have any of you any experience with this type of calculation?

Thanks and warm regards,

Brent



pgsql-php by date:

Previous
From: Francesco Casadei
Date:
Subject: Storing PHP sessions into a PostgreSQL database
Next
From: "Mitch Vincent"
Date:
Subject: Re: Date calc/comparisions