RE: PHP Schedule

From: Date: Mon, 15 Jan 2001 05:21:50 +0000
Subject: RE: PHP Schedule
Groups: php.general 
Request: Send a blank email to php-general+get-34560@lists.php.net to get a copy of this message
>> 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)

« previous php.general (#34560) next »