Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group