Date functions - Mailing list pgsql-general

From Brian Aker
Subject Date functions
Date
Msg-id 3A25AB24.6D96D000@tangent.org
Whole thread Raw
List pgsql-general
Hi all, I'm porting some code from MySQL to postgresql
at the moment and am running into a bit of a problem.
Is there a way to do something like MySQL's to_days(now())
function? I need to have the database respond back with
its time reduced to the number of days since year 0.

Thanks for any help in advance (and please reply back to
me too, since I don't read this mailing list).

    -Brian
--
_______________________________________________________
Brian Aker, brian@tangent.org
Slashdot Senior Developer
Seattle, Washington
http://tangent.org/~brian/
http://slashdot.org/
_______________________________________________________
You can't grep a dead tree.

pgsql-general by date:

Previous
From: "Alistair Hopkins"
Date:
Subject: RE: Database cluster?
Next
From: Sandeep Joshi
Date:
Subject: bug