QDateTime dateTime = QDateTime::fromString("04", "dd"); //Valid
QDateTime dateTime = QDateTime::fromString("Mon", "ddd"); //Valid
QDateTime dateTime = QDateTime::fromString("04 Mon", "dd ddd"); //Invalid
Why invalid?
QDateTime dateTime = QDateTime::fromString("04", "dd"); //Valid
QDateTime dateTime = QDateTime::fromString("Mon", "ddd"); //Valid
QDateTime dateTime = QDateTime::fromString("04 Mon", "dd ddd"); //Invalid
Why invalid?
problem resolved.
How did you solve the problem?
I am using the following code, and getting an invalid date, but can't see why.
Bookmarks