No to_days format in postgresql?

From: azah azah <izza76(at)gmail(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: No to_days format in postgresql?
Date: 2004-08-10 07:44:37
Message-ID: 235b1a280408100044251eca07@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Hi,
I really need help to convert to_days from mysql to postgresql as below:

TO_DAYS(now()) - TO_DAYS(timecheck) <=7

how can i do it in postgresql?

Tq

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Christopher Kings-Lynne 2004-08-10 07:58:54 Re: No to_days format in postgresql?
Previous Message Justin Wyer 2004-08-08 13:20:10 Re: pg calls not working from within Apache