TimeSpan.TryParseExact not working
<p>I'm trying to retrieve a timespan from a string, but TryParseExact is returning false (fail).</p>

<p>I can't see what I'm doing wrong, can you help? I've tried 2 versions of my line in the code, both do not work.</p>

<pre><code>TimeSpan.TryParseExact("04:00:01","HH:mm:ss",CultureInfo.CurrentCulture, out aTime)
</code></pre>

<p>and</p>

<pre><code>TimeSpan.TryParseExact("04:00:01","HH:mm:ss", null, out aTime)
</code></pre>

<p>EDIT:
both responses here are correct, I have the wrong format for my custom timespan format - the mistake I made is to assume that the custom formats for DateTime would work for TimeSpans, but they do not.</p>
