>> For example: the week number is 26, and I have to know which 
>> was its first day (the date, not the day of the week), say 06/21/2001, 
>> monday.
>
>If the week number is 26, then thats 26 x 7 = 182 days into the year.

That would give him the number of days into the year the last day of week 
26 falls. To find the first day of week 26, the equation changes to:

(26*7)-6 = 176 days into the year. So that

first_day = ((week_number * 7) - 6)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to