<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Retrieve WeekNumer from control?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Retrieve WeekNumer from control?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 10:00:45 +0000</pubDate>
  <lastBuildDate>Tue, 24 Oct 2006 18:31:07 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=5351</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Retrieve WeekNumer from control? : Ok, thx for the tip ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5351&amp;PID=16784&amp;title=retrieve-weeknumer-from-control#16784</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2162">celebre</a><br /><strong>Subject:</strong> 5351<br /><strong>Posted:</strong> 24 October 2006 at 6:31pm<br /><br />Ok, thx for the tip]]>
   </description>
   <pubDate>Tue, 24 Oct 2006 18:31:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5351&amp;PID=16784&amp;title=retrieve-weeknumer-from-control#16784</guid>
  </item> 
  <item>
   <title><![CDATA[Retrieve WeekNumer from control? : No, you can&amp;#039;t. Use the folowing...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5351&amp;PID=16783&amp;title=retrieve-weeknumer-from-control#16783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5351<br /><strong>Posted:</strong> 24 October 2006 at 5:02pm<br /><br />No, you can't.&nbsp; Use the folowing simple formula:<br><table width="99%"><tr><td><pre class="BBcode"><br>WeekNumber = ((LastWeekDay.Date - (DatePicker.FirstWeekOfYearDays - 1)).DayOfYear - 1) / 7 + 1<br></pre></td></tr></table><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Tue, 24 Oct 2006 17:02:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5351&amp;PID=16783&amp;title=retrieve-weeknumer-from-control#16783</guid>
  </item> 
  <item>
   <title><![CDATA[Retrieve WeekNumer from control? : My application prints events given...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5351&amp;PID=16766&amp;title=retrieve-weeknumer-from-control#16766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2162">celebre</a><br /><strong>Subject:</strong> 5351<br /><strong>Posted:</strong> 24 October 2006 at 9:40am<br /><br /><DIV>My application prints events given a week number, but it will depend of the DatePicker.FirstWeekOfYearDays value.</DIV><DIV>I can code a function to read that property and calculate the week number... but If the control calculated it previosly I think that is redundant.</DIV><DIV>&nbsp;</DIV><DIV>Can I retrive the weeknumber from the control directly? Can't find any method in the help.</DIV><DIV>&nbsp;</DIV><DIV>Greetings</DIV>]]>
   </description>
   <pubDate>Tue, 24 Oct 2006 09:40:57 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5351&amp;PID=16766&amp;title=retrieve-weeknumer-from-control#16766</guid>
  </item> 
 </channel>
</rss>