I have a string containing a date, and another string containing the date format of the first string. Is there a function that I can call to convert that date into something
In the source file Here.
I have a function that reads dates in a bunch of different formats, the function is called
bool kGUIDate::Setz(const char *datestring)
It's a class that reads in the day / month / year and also handles hours / minutes / seconds.
The code is LGPL so feel free to copy it.
/* formats excepted are: */
/* yyyy-mm-dd */
/* Wdy, DD-Mon-YY HH:MM:SS GMT */
/* Wdy, D Mon YY HH:MM:SS GMT */