On Fri, Nov 5, 2010 at 1:21 AM, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > WW is defined as starting the first week on the first day of the year. > 2010 started on a Friday so the week number increments on Fridays. > > There are some other format codes with different behavior ... Thank you, that is what I thought But is there a format code for a week starting on Sunday or Monday? Sorry, I can't find it at http://www.postgresql.org/docs/8.4/interactive/functions-formatting.html Regards Alex -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general