<?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 : [SOLVED] DateTimePicker Display Bug!?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : [SOLVED] DateTimePicker Display Bug!?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 13:12:26 +0000</pubDate>
  <lastBuildDate>Mon, 30 Aug 2010 03:24:50 +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=17154</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[[SOLVED] DateTimePicker Display Bug!? : Hemesh,  Thanks for that, this...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59949&amp;title=solved-datetimepicker-display-bug#59949</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17154<br /><strong>Posted:</strong> 30 August 2010 at 3:24am<br /><br />Hemesh,<DIV>&nbsp;</DIV><DIV>Thanks for that, this has resolved the issue I was having.</DIV>]]>
   </description>
   <pubDate>Mon, 30 Aug 2010 03:24:50 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59949&amp;title=solved-datetimepicker-display-bug#59949</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] DateTimePicker Display Bug!? : maybe try dd/MM/yyyy instead of...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59931&amp;title=solved-datetimepicker-display-bug#59931</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 17154<br /><strong>Posted:</strong> 27 August 2010 at 11:19am<br /><br />maybe try dd/MM/yyyy instead of dd/mm/yyyy?]]>
   </description>
   <pubDate>Fri, 27 Aug 2010 11:19:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59931&amp;title=solved-datetimepicker-display-bug#59931</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] DateTimePicker Display Bug!? : Hi,I have resolved my issue however...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59900&amp;title=solved-datetimepicker-display-bug#59900</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17154<br /><strong>Posted:</strong> 25 August 2010 at 5:21am<br /><br />Hi,<br><br>I have resolved my issue however I am not sure if the above mentioned is a bug or not as the month in CustomFormat "dd/mm/yyyy" is displaying as "00" so I will leave this open for now...<br><br>I managed to make the DateTimePicker display as blank and then display the correct date on change by using the following code:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; With dtpDateOfRequest<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .Value = Format$(Date, "dd/mm/yyyy")<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .Format = xtpPickerCustom<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; .CustomFormat = " "<br>&nbsp;&nbsp;&nbsp; End With<br>End Sub<br><br>Private Sub dtpDateOfRequest_CloseUp()<br>&nbsp;&nbsp;&nbsp; dtpDateOfRequest.Format = xtpPickerShortDate<br>End Sub<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 25 Aug 2010 05:21:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59900&amp;title=solved-datetimepicker-display-bug#59900</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] DateTimePicker Display Bug!? :  Hi,I am using several DateTimePicker...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59899&amp;title=solved-datetimepicker-display-bug#59899</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17154<br /><strong>Posted:</strong> 25 August 2010 at 4:57am<br /><br />Hi,<br><br>I am using several DateTimePicker controls on a form and my requirement initally is to have these blank so the user must enter a date. I have done this using the following code in the Form Load event:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; With dtpDateOfRequest<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Format = xtpPickerCustom&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Value = Format$(Date, "dd/mm/yyyy")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .CustomFormat = " "<br>&nbsp;&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br>So far so good, the control is blank and all seems fine... until I try and select a date, without setting the CustomFormat to "dd/mm/yyyy" I get no date appearing in the control so using the following code I get the date to appear, however the date displays as "25/00/2010":<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub dtpDateOfRequest_Change()<br>&nbsp;&nbsp;&nbsp; Debug.Print dtpDateOfRequest.Value<br>&nbsp;&nbsp;&nbsp; dtpDateOfRequest.CustomFormat = "dd/mm/yyyy"<br>&nbsp;&nbsp;&nbsp; Debug.Print dtpDateOfRequest.Value<br>End Sub<br></pre></td></tr></table><br>The Debug.Print lines cleary print the date as "25/08/2010" but the control displays "25/00/2010", is this a bug or am I doing something wrong?<br><br>Thanks...<br><br><br>]]>
   </description>
   <pubDate>Wed, 25 Aug 2010 04:57:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17154&amp;PID=59899&amp;title=solved-datetimepicker-display-bug#59899</guid>
  </item> 
 </channel>
</rss>