Re: Date Questions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Robert Sanford" <rsanford(at)trefs(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Date Questions
Date: 2007-01-23 23:40:09
Message-ID: 5854.1169595609@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Robert Sanford" <rsanford(at)trefs(dot)com> writes:
> It appears to me that there is some inconsistency in the date
> calculations for my PostgreSQL install (version 8.0 on Win32).

extract(DOW) follows the convention that the week starts on Sunday,
but extract(WEEK) uses the ISO convention, which includes weeks
starting on Monday. No, it's not super consistent, but hardly
anything about date/time conventions is :-(

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-01-24 00:23:17 Re: Date Questions
Previous Message Robert Sanford 2007-01-23 23:22:35 Date Questions