Date calc/comparisions

From: "Brent R(dot) Matzelle" <bmatzelle(at)yahoo(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Date calc/comparisions
Date: 2001-09-05 17:24:47
Message-ID: AQUARIUSgC81TbdkSmL00000009@aquarius.asdev.activestrategy.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Mitch Vincent 2001-09-06 04:01:50 Re: Date calc/comparisions
Previous Message Francesco Casadei 2001-08-29 20:51:19 Storing PHP sessions into a PostgreSQL database