Date functions
Date functions
От:
Brian Aker <brian@tangent.org>
Дата:
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.