Parse string value to datetime value
<p>I need to parse string value to date time value, I have date in this format:</p>

<pre><code>DD.MM.YYYY
</code></pre>

<p>I want to parse value in this format:</p>

<pre><code>YYYY-MM-DD
</code></pre>

<p>I tried to do it like this:</p>

<pre><code>DateTime.ParseExact(date_req, "yyyy-MM-dd", CultureInfo.InvariantCulture); 
</code></pre>

<p>But i have an error: String was not recognized as a valid DateTime.</p>

<p>Is there a way to do this?</p>
