Stupid C question

This question seems so easy I feel dumb for asking, but I can't find the answer after much searching. Does anyone know of a C api call on Windows to parse a text string that contains a date and/or time (ex "12/18/2004 12:00 pm") into a time_t structure, or some other structure that can be converted into a time_t?

It's not that hard to parse out a date time of a fixed format, but this is for Fabric I want this to be able to accept a variety of the most common formats. I found some stuff for MFC and some other frameworks, but they are too heavy to add to project, this must exist on Windows as a core API call, right?

If I can't find it, I'll guess I'll use the Boost C++ libraries, which have pretty comprehensive date time support. But its a huge framework and I'd rather not take a bunch of time integrating into my project.

Posted January 23, 2006 5:10 PM