Re: Week to date function - Mailing list pgsql-sql

From Ireneusz Pluta
Subject Re: Week to date function
Date
Msg-id 4BAE68FA.8000803@wp.pl
Whole thread Raw
In response to Re: Week to date function  (Jorge Godoy <jgodoy@gmail.com>)
Responses Re: Week to date function  ("Hiltibidal, Rob" <Rob.Hiltibidal@argushealth.com>)
List pgsql-sql
Jorge Godoy pisze:
> Are you sure?
>
> http://en.wikipedia.org/wiki/ISO_8601
snip
>
> As Jan 1st, 2010 happened on a Friday, it was on week 53 of 2009.
you are right, thanks for pointing that out.

I didn't check the opposite way like this:

select date_part('week', '2010-01-01'::date);date_part
-----------       53

I need to recheck my code.



pgsql-sql by date:

Previous
From: Jorge Godoy
Date:
Subject: Re: Week to date function
Next
From: Jorge Godoy
Date:
Subject: Re: Week to date function