converting a specified year and week into a date

From: vanessa <vanessaknell(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: converting a specified year and week into a date
Date: 2007-02-13 21:56:15
Message-ID: 8954235.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


hi guys,
i was just wondering if it was at all possible to turn a year and a given
week number into a real date just using postgresql commands?

e.g. if i have year = 2004 and week = 1,
can i turn that into say 2004-01-01 (so that the specified
date is the one for the beginning of week 1 in the year 2004

thanks
vanessa :)

--
View this message in context: http://www.nabble.com/converting-a-specified-year-and-week-into-a-date-tf3223753.html#a8954235
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2007-02-13 23:45:48 Advisory on possibly insecure security definer functions
Previous Message Anton Melser 2007-02-13 21:45:23 Re: getting postgres to emulate mysql/sqlserver bit datatype