Compare Mysql Date time with string date time
800271Aug 28 2011 — edited Aug 30 2011Dear All,
I have read dateTime field into a string from mysql database and in my java I have another dateTime in string format and in same format as the mysql date time and would like to compare both to see which one is before? Is it just by comparing the two string will solve the problem or must I do some other conversions? Thank you.