Hey all,
Is there an easy way to do a date comparison if the dates are in
string format? (ie. Is "01/01/2001" less than "02/14/2001")
I'm afraid the long answer is to parse out each date, add the date parts
to a SYSTEMTIME struct, convert the SYSTEMTIME struct to a FILETIME
struct, and then use the CompareFileTime Windows API function to
get my answer.
Any ideas would be much appreciated. Thanks!
Scott

------------------
Scott Wolfington
http://www.boogietools.com
[This message has been edited by Scott Wolfington (edited March 05, 2003).]
Is there an easy way to do a date comparison if the dates are in
string format? (ie. Is "01/01/2001" less than "02/14/2001")
I'm afraid the long answer is to parse out each date, add the date parts
to a SYSTEMTIME struct, convert the SYSTEMTIME struct to a FILETIME
struct, and then use the CompareFileTime Windows API function to
get my answer.
Any ideas would be much appreciated. Thanks!
Scott

------------------
Scott Wolfington
http://www.boogietools.com
[This message has been edited by Scott Wolfington (edited March 05, 2003).]
Comment