From: Josh Berkus <josh@agliodbs.com>
To: ko <ko@origo.com.tw>
To: pgsql-sql@postgresql.org
Subject: Re: select date range?
Date: Mon, 16 Jun 2003 20:28:46 -0700
Message-ID: <200306162028.46202.josh@agliodbs.com> (raw)
In-Reply-To: <02c101c3347c$1279d830$c9641cac@myko>
References: <02c101c3347c$1279d830$c9641cac@myko>
Ko,
> (1)mydate attribute is timestamp
> (2)$_POST[start_date] is something like '2003/05/12'
You probably need to re-format the POST date before passing it to the
back-end. For example, my compilation of PostgreSQL would not necessarily
correctly recognize that date format.
Try re-formatting the date to '2003-05-12'
--
Josh Berkus
Aglio Database Solutions
San Francisco
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, ko@origo.com.tw
Subject: Re: select date range?
In-Reply-To: <200306162028.46202.josh@agliodbs.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