How to convert a string to datetime in C++
<p>I have a resultset(from a function) which is based on time. But the datetime value is in string format(e.g. "21:5 Jan 23, 11"). I want to convert "21:5 Jan 23, 11" to datetime. How can I do this in C++? I just want to filter records for today. So i need to retrieve the current date from "21:5 Jan 23, 11". </p>

<p>Edit:</p>

<p>I can get the current date and time using 
SYSTEMTIME st;
GetSystemTime(&amp;st);</p>

<p>Is there any way to convert "21:5 Jan 23, 11" in the above format? I am a C# developer and have no idea abt C++. So please help.</p>

<p>Thanks,
Subrat</p>
