No to_days format in postgresql? - Mailing list pgsql-php

From azah azah
Subject No to_days format in postgresql?
Date
Msg-id 235b1a280408100044251eca07@mail.gmail.com
Whole thread Raw
Responses Re: No to_days format in postgresql?
List 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

pgsql-php by date:

Previous
From: Justin Wyer
Date:
Subject: Re: pg calls not working from within Apache
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: No to_days format in postgresql?