tag:blogger.com,1999:blog-6825852.post112197334056677190..comments2023-03-27T11:44:48.634+00:00Comments on Learning VB.NET: Couple of things that I noticed todayBenjimawoohttp://www.blogger.com/profile/06246234499394493455noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6825852.post-41240533040210414132021-03-12T13:54:47.069+00:002021-03-12T13:54:47.069+00:00Positive site, where did u come up with the inform...Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. <a href="http://psiprograms.com/" rel="nofollow">http://psiprograms.com</a><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6825852.post-18729487528927978372007-07-10T19:08:00.000+00:002007-07-10T19:08:00.000+00:00If you're on t'other side of the pond (or anywhere...<I>If you're on t'other side of the pond (or anywhere else that formats its short dates properly) ToShortDateString produces: "23/10/2004".</I><BR/><BR/>Here is some output from just a handful of .NET cultures:<BR/><BR/>English (United Kingdom): <BR/> Full: 10 July 2007 00:00<BR/> Long: 10 July 2007<BR/> Short: 10/07/2007<BR/>English (United States): <BR/> Full: Tuesday, July 10, 2007 12:00 AM<BR/> Long: Tuesday, July 10, 2007<BR/> Short: 7/10/2007<BR/>français (Canada): <BR/> Full: 10 juillet 2007 00:00<BR/> Long: 10 juillet 2007<BR/> Short: 2007-07-10<BR/>Deutsch (Deutschland): <BR/> Full: Dienstag, 10. Juli 2007 00:00<BR/> Long: Dienstag, 10. Juli 2007<BR/> Short: 10.07.2007<BR/>русский (Россия): <BR/> Full: 10 июля 2007 г. 0:00<BR/> Long: 10 июля 2007 г.<BR/> Short: 10.07.2007<BR/>Español (Ecuador): <BR/> Full: martes, 10 de julio de 2007 0:00<BR/> Long: martes, 10 de julio de 2007<BR/> Short: 10/07/2007<BR/><BR/>Instead of thinking that only one way is correct for a culture you happen to be part of, maybe a solution that is culture insensitive would be a better posting.<BR/><BR/>Ex:<BR/>Me.dtmMyDate.ToString("d", New CultureInfo("en-US")) gives you the necessary string needed for your RowFilter.<BR/><BR/>Note: Change the culture to the needed one.Anonymousnoreply@blogger.com