title: How do I convert an ISO 8601 string to time_t in C++?
body: <p>Does anyone know how to go from an <a href="http://en.wikipedia.org/wiki/ISO_8601" rel="nofollow">ISO-8601</a>-formatted date/time string to a <code>time_t</code>?
  I am using C++ and it needs to work on Windows and Mac.</p>
  
  <p>I have written the code but I am sure there is a version that is more "standard."</p>
  
  <p>I will get a date like <code>2011-03-21 20:25</code> and I have to tell if the time is in the past or the future.</p>