Re: Fastest way / best practice to calculate "next birthdays"

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

 



On Monday, May 18, 2015, er.tejaspatel88@xxxxxxxxx <er.tejaspatel88@xxxxxxxxx> wrote:
If I have to find upcoming birthdays in current week and the current week
fall into different months - how would you handle that?

Extract(week from timestamptz_column)

ISO weeks are not affected by month boundaries but do start on Monday.

David J.

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux