Search Postgresql Archives

Re: Date / interval question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 10, 2008 at 10:26 PM, kevin kempter
<kevin@xxxxxxxxxxxxxxxxxxx> wrote:
>  However I'm stumped [er how to get the number of months from 09/01/2007
> thru 01/01/2007

select extract(month from (age(date '2007-1-1', date '2006-9-1')));


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux