Re: select to_char(current_timestamp, 'YYYY-WW');

From: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: select to_char(current_timestamp, 'YYYY-WW');
Date: 2010-11-05 00:48:54
Message-ID: AANLkTi=ZFPCOZ0FqK+hjZ5d_utXzzLMySEywOGTRgCG+@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I will try YYYY-IW

On Fri, Nov 5, 2010 at 1:28 AM, Alexander Farber
<alexander(dot)farber(at)gmail(dot)com> wrote:
> 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Leif Biberg Kristensen 2010-11-05 01:48:52 Re: How do you control IMMUTABLE PG PROC results?
Previous Message Alexander Farber 2010-11-05 00:28:19 Re: select to_char(current_timestamp, 'YYYY-WW');