From: azah azah <izza76@gmail.com>
To: pgsql-php@postgresql.org
Subject: No to_days format in postgresql?
Date: Tue, 10 Aug 2004 15:44:37 +0800
Message-ID: <235b1a280408100044251eca07@mail.gmail.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: izza76@gmail.com
Subject: Re: No to_days format in postgresql?
In-Reply-To: <235b1a280408100044251eca07@mail.gmail.com>
References: <235b1a280408100044251eca07@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox