<?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 : How do I specify a wndDatePicker date range?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : How do I specify a wndDatePicker date range?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 28 May 2026 20:02:40 +0000</pubDate>
  <lastBuildDate>Wed, 13 May 2009 06:01:53 +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=14237</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[How do I specify a wndDatePicker date range? : modded a post I found here......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14237&amp;PID=48931&amp;title=how-do-i-specify-a-wnddatepicker-date-range#48931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5179">Jaymeister</a><br /><strong>Subject:</strong> 14237<br /><strong>Posted:</strong> 13 May 2009 at 6:01am<br /><br />modded a post I found here... ( https://forum.codejock.com/forum_posts.asp?TID=13251&amp;KW=datepicker&amp;PN=1 )<br><br>Sub GetDatePickerSelectedStartStopDates(D1 As Date, D2 As Date)<br>&nbsp; Dim SelectDays() As Date<br>&nbsp; CalcSelectDays NbDays&amp;, SelectDays()<br>&nbsp; D1 = SelectDays(1)<br>&nbsp; D2 = SelectDays(NbDays&amp;)<br>end sub<br><br>Sub CalcSelectDays(NbDays As Long, SelectDays() As Date)<br>Dim i As Long<br>&nbsp;&nbsp;&nbsp; NbDays = 0<br>&nbsp;&nbsp;&nbsp; ReDim SelectDays(NbDays)<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; With wndDatePicker.Selection<br>&nbsp;&nbsp;&nbsp; For i = 0 To .BlocksCount - 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AddSelectDays .Blocks(i).DateBegin, .Blocks(i).DateEnd, NbDays, SelectDays()<br>&nbsp;&nbsp;&nbsp; Next<br>&nbsp;&nbsp;&nbsp; End With<br>End Sub<br>&nbsp;<br>Sub AddSelectDays(DateBegin As Date, DateEnd As Date, Nb As Long, SelDays() As Date)<br>Dim Day As Date<br>&nbsp;&nbsp;&nbsp; Day = DateBegin<br>&nbsp;&nbsp;&nbsp; Do<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Nb = Nb + 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReDim Preserve SelDays(Nb)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SelDays(Nb) = Day<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Day = DateAdd("d", 1, Day)<br>&nbsp;&nbsp;&nbsp; Loop Until Day &gt; DateEnd<br>End Sub<br><br>...and it works :)<br>]]>
   </description>
   <pubDate>Wed, 13 May 2009 06:01:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14237&amp;PID=48931&amp;title=how-do-i-specify-a-wnddatepicker-date-range#48931</guid>
  </item> 
  <item>
   <title><![CDATA[How do I specify a wndDatePicker date range? : SORRY - got above post topsy-turvyI...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14237&amp;PID=48756&amp;title=how-do-i-specify-a-wnddatepicker-date-range#48756</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5179">Jaymeister</a><br /><strong>Subject:</strong> 14237<br /><strong>Posted:</strong> 07 May 2009 at 10:18am<br /><br />SORRY - got above post topsy-turvy<br><br>I can set a selected date range<br>&nbsp; Dim D1 As Date, D2 As Date<br><br>&nbsp; D1 = DateSerial(2009, 8, 31)<br>&nbsp; D2 = DateSerial(2009, 8, 31)<br>&nbsp; <br>&nbsp; wndDatePicker.SelectRange D1, D2 <br><br>How do READ currently set date range?<br><br><br><br>Thanks for any help in advance!]]>
   </description>
   <pubDate>Thu, 07 May 2009 10:18:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14237&amp;PID=48756&amp;title=how-do-i-specify-a-wnddatepicker-date-range#48756</guid>
  </item> 
  <item>
   <title><![CDATA[How do I specify a wndDatePicker date range? : I can read a selected date range...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14237&amp;PID=48754&amp;title=how-do-i-specify-a-wnddatepicker-date-range#48754</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5179">Jaymeister</a><br /><strong>Subject:</strong> 14237<br /><strong>Posted:</strong> 07 May 2009 at 10:17am<br /><br />I can read a selected date range<br>&nbsp; Dim D1 As Date, D2 As Date<br><br>&nbsp; D1 = DateSerial(2009, 8, 31)<br>&nbsp; D2 = DateSerial(2009, 8, 31)<br>&nbsp; <br>&nbsp; wndDatePicker.SelectRange D1, D2 <br><br>How do I specify a date range?<br><br>Thanks for any help in advance!<br>]]>
   </description>
   <pubDate>Thu, 07 May 2009 10:17:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14237&amp;PID=48754&amp;title=how-do-i-specify-a-wnddatepicker-date-range#48754</guid>
  </item> 
 </channel>
</rss>