Date functions

Поиск
Список
Период
Сортировка
От Brian Aker
Тема Date functions
Дата
Msg-id 3A25AB24.6D96D000@tangent.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Alistair Hopkins"
Дата:
Сообщение: RE: Database cluster?
Следующее
От: Sandeep Joshi
Дата:
Сообщение: bug