Date functions

From: Brian Aker <brian(at)tangent(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Date functions
Date: 2000-11-30 01:19:32
Message-ID: 3A25AB24.6D96D000@tangent.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)tangent(dot)org
Slashdot Senior Developer
Seattle, Washington
http://tangent.org/~brian/
http://slashdot.org/
_______________________________________________________
You can't grep a dead tree.

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2000-11-30 01:27:40 Re: Unanswered questions about Postgre
Previous Message Ronald Cole 2000-11-30 01:18:01 Re: Why PostgreSQL is not that popular as MySQL?