title: Parsing dates and times from string in many combinations
body: <p>I need to parse dates and times from strings. The Problem is that the strings can have any possible format. But I also get the format strings. </p>
  
  <p>So i get:</p>
  
  <pre><code>Date = "9/15/2010"
  Time = "16:12:45"
  DateFormat = "M/dd/yyyy"
  TimeFormat = "h:mm:ss"
  TimeZone = "+2:00:00"  // +/- and time in TimeFormat
  </code></pre>
  
  <p>But i have some problems parsing these strings.  </p>
  
  <p>I can't parse the time </p>
  
  <pre><code>DateTime.ParseExact("16:12:45","h:mm:ss",null,DateTimeStyles.None);
  </code></pre>
  
  <p>does not work and causes a FormatException. What is wrong with this call?  </p>
  
  <p>If the DateFormat contains slashes, i need to escape them <code>@"M\/dd\/yyyy"</code>. Are there any other chars that would need escaping?</p>
  
  <p>Can i parse the whole DateTime in one? Somehting like:   </p>
  
  <pre><code>DateTime.ParseExact(Date+' '+Time+' '+TimeZone,DateFormat+' '+TimeFormat+' +'+TimeFormat,null,DateTimeStyles.None);
  </code></pre>