3 messages in com.mysql.lists.mysqlRe: Date query problem (hard one)
FromSent OnAttachments
Adams, Antoine A SSI-ISES-5608 Mar 2001 00:32 
Peter Skipworth08 Mar 2001 00:43 
Adams, Antoine A SSI-ISES-5608 Mar 2001 01:02 
Subject:Re: Date query problem (hard one)
From:Peter Skipworth (sk@peterskipworth.com)
Date:03/08/2001 12:43:05 AM
List:com.mysql.lists.mysql

Antione,

What's your definition of a week number ? A week number in the range 1..52 is not in itself enough to calculate a precise date from..

regards,

P

On Thu, 8 Mar 2001, Adams, Antoine A SSI-ISES-56 wrote:

I've been strugling with a query for some time now and I can't get the desired answer from mysql.

The desired answer: a date (bv. 2001-02-08)

What is the input: a week number

What date do I need: The date of the monday where week = x

the idea was: select date(week(10),1);

But offcourse this doesn't work..

Anyone any idea's????

Antoine Adams

To request this thread, e-mail <mysq@lists.mysql.com> To unsubscribe, e-mail
<mysql-unsubscribe-skip=pete@lists.mysql.com> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php