Re: Getting that starts a week of the year

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Getting that starts a week of the year
Date: 2012-04-23 07:33:12
Message-ID: jn30gp$fbc$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Wells Oliver, 22.04.2012 00:58:
> Is there a way to get the date that starts week 14, or 15 (etc)?

Try this:

select to_date('201214', 'iyyyiw')

That uses the ISO week definition.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Albe Laurenz 2012-04-23 07:39:19 Re: Getting that starts a week of the year
Previous Message Kevin Grittner 2012-04-22 16:29:50 Re: What is the role of pg_filenode.map ?