<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'http://nthillaiarasu.blogspot.com'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=http%3a%2f%2fnthillaiarasu.blogspot.com&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'http://nthillaiarasu.blogspot.com'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Error: String was not recognized as a valid DateTime</title><link>http://forums.asp.net/thread/1986628.aspx</link><pubDate>Fri, 02 Nov 2007 04:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1986628</guid><dc:creator>nthillaiarasu</dc:creator><description>&lt;p&gt;
Hi i also had the same problem my applications will be running in localhost but when i use IIS or apache it will throw the error&amp;nbsp; &lt;b&gt;String was not recognized as a valid DateTime.&lt;/b&gt;After a lot of search i finally got the solution &lt;/p&gt;&lt;p&gt;just declare ur date field as &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;System.DateTime str_date=DateTime.Parse(sel3.Text,System.Globalization.CultureInfo.CreateSpecificCulture(&amp;quot;en-AU&amp;quot;).DateTimeFormat);&lt;/p&gt;&lt;p&gt;I hope it will work fine in ur application&lt;/p&gt;&lt;p&gt;Thanks in Advance,&lt;/p&gt;&lt;p&gt;N.ThillaiArasu,&lt;/p&gt;&lt;p&gt;&lt;u&gt;http://nthillaiarasu.blogspot.com&lt;/u&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>