How to convert Qstring to date??? and again date to Qstring....? Means i want Qstring of type dd-MMM-yyyy to yyyy-MM-dd...?
Qstring str="11-Feb-2013" Now i wants the string in "2013-02-11"..?
What i tried is
QDate da=QDate::fromString(str,"dd-MMM-yyyy");
qDebug()<<"FINALISED DATE____________##########"<<da.toString("yyyy-MM-dd");
---------------Output---------
FINALISED DATE____________########## ""
its printing empty string please correct me...?
Bookmarks