<p>Is there a good equivalent implementation of <code>strptime()</code> available for Windows?  Unfortunately, this POSIX function does not appear to be available.</p>

<p><a href="http://www.opengroup.org/onlinepubs/009695399/functions/strptime.html" rel="noreferrer">Open Group description of strptime</a> - summary: it converts a text string such as <code>"MM-DD-YYYY HH:MM:SS"</code> into a <code>tm struct</code>, the opposite of <code>strftime()</code>.</p>

An open-source version (BSD license) of
```
strptime()
```
can be found here:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/time/strptime.c?rev=HEAD
You'll need to add the following declaration to use it:
```
```
char *strptime(const char * __restrict, const char * __restrict, struct tm * __restrict);
```
```