Popular recipes tagged "week"http://code.activestate.com/recipes/tags/week/2015-03-14T01:25:49-07:00ActiveState Code Recipesstart and end date given the year and week (Python)
2015-03-14T01:25:49-07:00Fernando Peraltahttp://code.activestate.com/recipes/users/4191815/http://code.activestate.com/recipes/579034-start-and-end-date-given-the-year-and-week/
<p style="color: grey">
Python
recipe 579034
by <a href="/recipes/users/4191815/">Fernando Peralta</a>
(<a href="/recipes/tags/and/">and</a>, <a href="/recipes/tags/date/">date</a>, <a href="/recipes/tags/end/">end</a>, <a href="/recipes/tags/given/">given</a>, <a href="/recipes/tags/start/">start</a>, <a href="/recipes/tags/week/">week</a>, <a href="/recipes/tags/year/">year</a>).
</p>
<p>Determines the starting and ending date when the year and week are specified for a by-weekly report.</p>
Monday of first week per year (not first Monday) (Python)
2012-10-31T04:37:28-07:00Scott S-Allenhttp://code.activestate.com/recipes/users/4181178/http://code.activestate.com/recipes/578308-monday-of-first-week-per-year-not-first-monday/
<p style="color: grey">
Python
recipe 578308
by <a href="/recipes/users/4181178/">Scott S-Allen</a>
(<a href="/recipes/tags/date/">date</a>, <a href="/recipes/tags/week/">week</a>).
Revision 4.
</p>
<p>13th week of any year is ambiguous without identifying the first week. </p>
<p>This recipe calculates Monday of the first week, not the first Monday, and differs from others by not using flow-control statement (if).</p>